1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +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_SIZE = 20 * 24
SCREEN_BUF = $4000 - SCREEN_BUF_SIZE SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
.export initconio .export screen_setup
.export screen_width, screen_height .export screen_width, screen_height
.export conio_color .export conio_color
@ -18,7 +18,7 @@ screen_height = 24
.segment "ONCE" .segment "ONCE"
; initialize color registers, display list, and screen memory ; initialize color registers, display list, and screen memory
initconio: screen_setup:
; initialize SAVMSC ; initialize SAVMSC
lda #<SCREEN_BUF lda #<SCREEN_BUF

View File

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

View File

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