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:
parent
34942a2da5
commit
78daf84f12
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user