mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 06:31:25 +00:00
23 lines
779 B
Plaintext
23 lines
779 B
Plaintext
;c02 Program Initialization Code for VIC-20 with 3K Expansion
|
|
|
|
INCLUDE "vicequ.a02" ;Include VIC 20 Common Code
|
|
|
|
;Video RAM and ROM
|
|
VICSCN EQU $1E00 ;Video Screen Memory Area (Unexpanded)
|
|
CHRROM EQU $8000 ;Character Generator ROM
|
|
VICCLR EQU $9600 ;Color RAM (Unexpanded)
|
|
|
|
;Machine Language Basic Stub
|
|
ORG $1001 ;Start of Basic Program
|
|
BASIC: DC $0C, $04 ;Pointer to Next Line
|
|
DC $00, $00 ;Line Number (0)
|
|
DC $9E ;SYS
|
|
DC $20 ;' '
|
|
DC $34,$31,$31,$30 ;"4110"
|
|
DC $00 ;End of Line Marker
|
|
DC $00, $00 ;End of Basic Program
|
|
|
|
INCLUDE "vicasm.a02" ;Include VIC 20 Common Code
|
|
INCLUDE "prbyte.a02" ;PRBYTE and PRHEX routines
|
|
|