mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-30 10:30:47 +00:00
Refactor c64_0.oph to include a minimal BASIC loader
This commit is contained in:
parent
f48071add9
commit
7ad52695d2
@ -8,15 +8,7 @@
|
||||
;; You will have a contiguous block of RAM from $0800 to $CFFF, and
|
||||
;; Zero Page access from $02 to $8F in the segment "zp".
|
||||
|
||||
.word $0801
|
||||
.org $0801
|
||||
|
||||
; BASIC program that just calls our machine language code
|
||||
.scope
|
||||
.word _next, 10 ; Next line and current line number
|
||||
.byte $9e," 2062",0 ; SYS 2062
|
||||
_next: .word 0 ; End of program
|
||||
.scend
|
||||
.include "c64header.oph"
|
||||
|
||||
.data zp ; Zero Page memory segment.
|
||||
.org $0002
|
||||
|
10
platform/c64header.oph
Normal file
10
platform/c64header.oph
Normal file
@ -0,0 +1,10 @@
|
||||
.word $0801
|
||||
.org $0801
|
||||
|
||||
; BASIC program that just calls our machine language code
|
||||
.scope
|
||||
.word _next, 10 ; Next line and current line number
|
||||
.byte $9e," 2062",0 ; SYS 2062
|
||||
_next: .word 0 ; End of program
|
||||
.scend
|
||||
; Program follows...
|
Loading…
Reference in New Issue
Block a user