1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

atari5200: name conio constructor 'initconio'

This commit is contained in:
Christian Groessler 2019-04-12 12:39:37 +02:00 committed by Oliver Schmidt
parent 34942a2da5
commit 78daf84f12
3 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
SCREEN_BUF_SIZE = 20 * 24
SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
.export initconio
.export screen_setup
.export screen_width, screen_height
.export conio_color
@ -18,7 +18,7 @@ screen_height = 24
.segment "ONCE"
; initialize color registers, display list, and screen memory
initconio:
screen_setup:
; initialize SAVMSC
lda #<SCREEN_BUF

View File

@ -15,9 +15,9 @@
.importzp screen_width, screen_height
.importzp ptr4
.import initconio
.constructor initconio_constructor
initconio_constructor = initconio
.import screen_setup
.constructor initconio
initconio = screen_setup
_cputcxy:
pha ; Save C

View File

@ -7,7 +7,7 @@
SCREEN_BUF_SIZE = 20 * 12
SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
.export initconio
.export screen_setup
.export screen_width, screen_height
.export conio_color
@ -18,7 +18,7 @@ screen_height = 12
.segment "ONCE"
; initialize color registers, display list, and screen memory
initconio:
screen_setup:
; initialize SAVMSC
lda #<SCREEN_BUF