clobbering the screen holes is bad. The slot 4 mouse code stores config data in the screen holes. on ROM 1, ESC#8 (fill screen with 'E') would cause the slot 4 mouse to enable ADB mouse interrupts, which causes ProDOS to eventually error out with 255 unclaimed interrupts.

This commit is contained in:
Kelvin Sherlock 2021-09-27 17:55:10 -04:00
parent 2a8a409194
commit 2ae6964664

View File

@ -318,16 +318,91 @@ fill_screen ent
php php
rep #$30 rep #$30
ldx #$0400
ldy #$0401
lda #40*24+64-2
mvn $010000,$010000
ldx #$0400 ldx #$0400
ldy #$0401 ldy #$0401
lda #40*24+64-2 lda #40*3-2
mvn $010000,$010000
ldx #$0400
ldy #$0480
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0500
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0580
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0600
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0680
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0700
lda #40*3-1
mvn $010000,$010000
ldx #$0400
ldy #$0780
lda #40*3-1
mvn $010000,$010000
*
ldx #$0400
ldy #$0401
lda #40*3-2
mvn $000000,$000000 mvn $000000,$000000
ldx #$0400
ldy #$0480
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0500
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0580
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0600
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0680
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0700
lda #40*3-1
mvn $000000,$000000
ldx #$0400
ldy #$0780
lda #40*3-1
mvn $000000,$000000
* not needed since $0,$0 last * not needed since $0,$0 last
* phk * phk
* plb * plb