provided unofficial $E50C routine - for compatibility

This commit is contained in:
FeralChild64 committed 2019-10-04 21:44:58 +02:00
1 parent af9e6abb8f
commit 1f3238ccad
7 files changed
+21 -13

No files matched your search

+13 -12
View File
@@ -136,7 +136,7 @@ NOTE: Even the 'DONE' routines won't support features described as missing in on
| `$FFE7` | `$F32F` | `CLALL` | DONE | |
| `$FFEA` | | `UDTIM` | DONE | |
| `$FFED` | | `SCREEN` | DONE | |
| `$FFF0` | | `PLOT` | PARTIAL | cursor blink not handled |
| `$FFF0` | `$E50A` | `PLOT` | PARTIAL | cursor blink not handled |
| `$FFF3` | | `IOBASE` | DONE | |
| `($FFFA)` | | NMI vec | PARTIAL | |
| `($FFFC)` | | RESET vec | PARTIAL | |
@@ -150,16 +150,17 @@ Not all of them - only these we want to have implemented.
<br />
| Address | Name | Status | Remarks |
| :-------: | :---------------- | :------: | :------------------------------------------------: |
| `$E544` | clear screen | DONE | |
| `$E5A0` | setup VIC II & IO | PARTIAL | |
| `$EA31` | default IRQ | PARTIAL | |
| `$EA7E` | ack CIA1 + below | DONE | |
| `$EA81` | ret from IRQ/NMI | DONE | |
| `$FD30` | default vectors | DONE | |
| `$FE47` | default NMI | PARTIAL | |
| `$FE66` | default BRK | DONE | |
| `$FF80` | revision byte | DONE | |
| Address | Name | Status | Remarks |
| :-------: | :------------------ | :------: | :------------------------------------------------: |
| `$E544` | clear screen | DONE | |
| `$E50C` | set cursor position | PARTIAL | cursor blink not handled |
| `$E5A0` | setup VIC II & IO | PARTIAL | |
| `$EA31` | default IRQ | PARTIAL | |
| `$EA7E` | ack CIA1 + below | DONE | |
| `$EA81` | ret from IRQ/NMI | DONE | |
| `$FD30` | default vectors | DONE | |
| `$FE47` | default NMI | PARTIAL | |
| `$FE66` | default BRK | DONE | |
| `$FF80` | revision byte | DONE | |
<br />
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
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&amp%3Bstart=15
- 'Duotris' game calls $E50C during startup screen initialization
+4 -1
View File
@@ -11,6 +11,10 @@
PLOT:
bcs plot_get
// Note: the 'set' part has to start from $E50C, as this is a known address
// - https://www.lemon64.com/forum/viewtopic.php?t=3296&amp%3Bstart=15
// - 'Duotris' game calls $E50C during startup screen initialization
plot_set:
sty TBLX
stx PNTR
@@ -23,4 +27,3 @@ plot_get:
ldy TBLX
ldx PNTR
rts