This commit is contained in:
Irmen de Jong 2020-11-10 20:45:48 +01:00
parent cd99fe46fd
commit 69ca4fe304
4 changed files with 2 additions and 14 deletions

View File

@ -33,12 +33,7 @@ charset {
set_irqd()
ubyte bank = @($0001)
@($0001) = bank & %11111011 ; enable CHAREN, so the character rom accessible at $d000
; memcopy($d000, CHARSET, 256*8*2) ; copy the charset to RAM TODO memcopy > 256 length
uword cc = 0
repeat 256*8*2 {
@(CHARSET+cc) = @($d000+cc)
cc++
}
memcopy($d000, CHARSET, 256*8*2) ; copy the charset to RAM
@($0001) = bank ; reset previous memory banking
clear_irqd()

View File

@ -224,9 +224,7 @@ main {
shipdata {
%option force_output
; Ship model data converted from BBC Elite's Cobra MK 3
; Ship model data converted from BBC Elite's Cobra MK 3
; downloaded from http://www.elitehomepage.org/archive/index.htm
const ubyte totalNumberOfEdges = 51

View File

@ -5,9 +5,6 @@
; Note: this program is compatible with C64 and CX16.
; TODO why has the prg become bigger since register args?
main {
sub start() {

View File

@ -4,8 +4,6 @@
; Note: this program is compatible with C64 and CX16.
; TODO why has the prg become bigger since register args?
main {
struct Ball {