implemented SCREEN routine

This commit is contained in:
FeralChild64 committed 2019-06-14 21:43:56 +02:00
1 parent 6cb5e520db
commit 30925a35c8
3 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
; $FFED - Return screen size (X=columns, Y=rows)
; (http://codebase64.org/doku.php?id=base:kernalreference)
jmp get_screen_size
jmp screen
-2
View File
@@ -1,2 +0,0 @@
get_screen_size:
rts
+11
View File
@@ -0,0 +1,11 @@
; Function defined on p295 of C64 Programmers Reference Guide
screen:
;; There are only 2 sane ways to implement this routine,
;; I hope this one is different than what Commodore picked :)
ldy #25 ; 25 columns
ldx #40 ; 40 rows
rts