Add init screen code at E536

This commit is contained in:
Rikard Nordgren committed 2025-02-05 18:40:56 +01:00
1 parent ba9dd1aff2
commit 535917a0f4
2 files changed
+22

No files matched your search

+1
View File
@@ -375,6 +375,7 @@ Not all of them - only these we want to have implemented.
| `$E51B` | init screen keyboard, no VIC | DONE | |
| `$E544` | clear screen | DONE | |
| `$E50C` | set cursor position | DONE | |
| `$E536` | init screen ? | PARTIAL | |
| `$E566` | home cursor | DONE | |
| `$E56C` | set PNT and USER values | DONE | |
| `$E5A0` | setup VIC II & I/O | DONE | |
+21
View File
@@ -0,0 +1,21 @@
;; #LAYOUT# STD * #TAKE
;; #LAYOUT# X16 * #IGNORE
;; #LAYOUT# * KERNAL_0 #TAKE
;; #LAYOUT# * * #IGNORE
;
; Init screen at reset
;
; https://www.c64-wiki.com/wiki/646
; https://www.lemon64.com/forum/viewtopic.php?t=18490
;
; Information on what the code at E536 does is a bit contradictory
; It seems as if the text color at $286 is set to the value in A
; and then the screen is cleared.
; Tests indicate that this is the what happens.
init_screen:
sta $0286
jmp clear_screen