atari5200: add screensize function
This commit is contained in:
parent
db01036e2e
commit
79b9a8d2df
2 changed files with 19 additions and 2 deletions
19
libsrc/atari5200/_scrsize.s
Normal file
19
libsrc/atari5200/_scrsize.s
Normal file
|
@ -0,0 +1,19 @@
|
|||
;
|
||||
; Christian Groessler, 02-Apr-2019
|
||||
;
|
||||
; Screen size variables
|
||||
;
|
||||
|
||||
.export screensize
|
||||
.importzp screen_width, screen_height
|
||||
.include "atari.inc"
|
||||
|
||||
.proc screensize
|
||||
|
||||
ldx #screen_width
|
||||
ldy #screen_height
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
|
@ -6,8 +6,6 @@
|
|||
.export _textcolor
|
||||
.import conio_color
|
||||
|
||||
.include "atari.inc"
|
||||
|
||||
|
||||
_textcolor:
|
||||
; move bits #0 and #1 to bits #6 and #7
|
||||
|
|
Loading…
Add table
Reference in a new issue