implemented SCREEN routine
This commit is contained in:
1 parent
6cb5e520db
commit
30925a35c8
3 files changed
+12
-3
No files matched your search
+1
-1
@@ -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
|
||||
@@ -1,2 +0,0 @@
|
||||
get_screen_size:
|
||||
rts
|
||||
@@ -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
|
||||
Reference in new issue
Block a user