atari5200 update: simple conio "hello world" works now

This commit is contained in:
Christian Groessler
2014-04-25 03:02:44 +02:00
parent ec417c0dc5
commit 92b32d7d0e
7 changed files with 252 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
;
; Startup code for cc65 (Atari5200 version)
;
; by Christian Groessler (chris@groessler.org), 2014
; Christian Groessler (chris@groessler.org), 2014
;
.export _exit, start
@@ -15,12 +15,6 @@
.include "zeropage.inc"
.include "atari5200.inc"
; ------------------------------------------------------------------------
; Place the startup code in a special segment.
.segment "STARTUP"
start:
; Clear the BSS data
@@ -49,7 +43,6 @@ start:
_exit: jsr donelib ; Run module destructors
; Reset the NES
jmp start
; A 5200 program isn't supposed to exit.
halt: jmp halt