small code reordering to avoid accidental similarities
This commit is contained in:
1 parent
1f3238ccad
commit
ab7af621d5
5 files changed
+7
-4
No files matched your search
@@ -136,7 +136,7 @@ NOTE: Even the 'DONE' routines won't support features described as missing in on
|
|||||||
| `$FFE7` | `$F32F` | `CLALL` | DONE | |
|
| `$FFE7` | `$F32F` | `CLALL` | DONE | |
|
||||||
| `$FFEA` | | `UDTIM` | DONE | |
|
| `$FFEA` | | `UDTIM` | DONE | |
|
||||||
| `$FFED` | | `SCREEN` | DONE | |
|
| `$FFED` | | `SCREEN` | DONE | |
|
||||||
| `$FFF0` | `$E50A` | `PLOT` | PARTIAL | cursor blink not handled |
|
| `$FFF0` | `$E50A` | `PLOT` | PARTIAL | |
|
||||||
| `$FFF3` | | `IOBASE` | DONE | |
|
| `$FFF3` | | `IOBASE` | DONE | |
|
||||||
| `($FFFA)` | | NMI vec | PARTIAL | |
|
| `($FFFA)` | | NMI vec | PARTIAL | |
|
||||||
| `($FFFC)` | | RESET vec | PARTIAL | |
|
| `($FFFC)` | | RESET vec | PARTIAL | |
|
||||||
@@ -153,7 +153,7 @@ Not all of them - only these we want to have implemented.
|
|||||||
| Address | Name | Status | Remarks |
|
| Address | Name | Status | Remarks |
|
||||||
| :-------: | :------------------ | :------: | :------------------------------------------------: |
|
| :-------: | :------------------ | :------: | :------------------------------------------------: |
|
||||||
| `$E544` | clear screen | DONE | |
|
| `$E544` | clear screen | DONE | |
|
||||||
| `$E50C` | set cursor position | PARTIAL | cursor blink not handled |
|
| `$E50C` | set cursor position | PARTIAL | |
|
||||||
| `$E5A0` | setup VIC II & IO | PARTIAL | |
|
| `$E5A0` | setup VIC II & IO | PARTIAL | |
|
||||||
| `$EA31` | default IRQ | PARTIAL | |
|
| `$EA31` | default IRQ | PARTIAL | |
|
||||||
| `$EA7E` | ack CIA1 + below | DONE | |
|
| `$EA7E` | ack CIA1 + below | DONE | |
|
||||||
|
|||||||
@@ -95,8 +95,8 @@ got_devicenumber:
|
|||||||
bne got_loadaddress
|
bne got_loadaddress
|
||||||
|
|
||||||
got_secondaryaddress:
|
got_secondaryaddress:
|
||||||
ldx TXTTAB+0
|
|
||||||
ldy TXTTAB+1
|
ldy TXTTAB+1
|
||||||
|
ldx TXTTAB+0
|
||||||
|
|
||||||
got_loadaddress:
|
got_loadaddress:
|
||||||
lda #$00 // LOAD not verify
|
lda #$00 // LOAD not verify
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
The original reason to move PLOT routine into its original position was to provide support for unofficial $E50C address:
|
The original reason to move PLOT routine into its original position was to provide support for unofficial $E50C address:
|
||||||
|
|
||||||
- it is well known: https://www.lemon64.com/forum/viewtopic.php?t=3296&%3Bstart=15
|
- it is well known: https://www.lemon64.com/forum/viewtopic.php?t=3296&%3Bstart=15
|
||||||
|
https://sys64738.org/2019/05/c64-bedtime-coding-eng-printing-08/
|
||||||
- 'Duotris' game calls $E50C during startup screen initialization
|
- 'Duotris' game calls $E50C during startup screen initialization
|
||||||
@@ -13,6 +13,7 @@ PLOT:
|
|||||||
|
|
||||||
// Note: the 'set' part has to start from $E50C, as this is a known address
|
// Note: the 'set' part has to start from $E50C, as this is a known address
|
||||||
// - https://www.lemon64.com/forum/viewtopic.php?t=3296&%3Bstart=15
|
// - https://www.lemon64.com/forum/viewtopic.php?t=3296&%3Bstart=15
|
||||||
|
// - https://sys64738.org/2019/05/c64-bedtime-coding-eng-printing-08/
|
||||||
// - 'Duotris' game calls $E50C during startup screen initialization
|
// - 'Duotris' game calls $E50C during startup screen initialization
|
||||||
|
|
||||||
plot_set:
|
plot_set:
|
||||||
@@ -20,6 +21,7 @@ plot_set:
|
|||||||
stx PNTR
|
stx PNTR
|
||||||
|
|
||||||
// XXX handle cursor blink
|
// XXX handle cursor blink
|
||||||
|
// XXX should we update some more variables?
|
||||||
|
|
||||||
// FALLTROUGH to save one byte on RTS
|
// FALLTROUGH to save one byte on RTS
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
RESTOR:
|
RESTOR:
|
||||||
|
|
||||||
clc // clear carry - for writing to system table
|
clc // clear carry - for writing to system table
|
||||||
ldx #<vector_defaults
|
|
||||||
ldy #>vector_defaults
|
ldy #>vector_defaults
|
||||||
|
ldx #<vector_defaults
|
||||||
|
|
||||||
// FALLTHROUGH
|
// FALLTHROUGH
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user