rts
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
.word ((7<<6)+(4<<3)+(4)) ; d light green
.word ((4<<6)+(4<<3)+(7)) ; e light blue
.word ((6<<6)+(6<<3)+(6)) ; f light gray
+
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
staio VDC_DATA_HI
rts
+
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
; Call module constructors
jsr initlib
- ;; FIXME: this should be called from a constructor instead
- .import initconio
- jsr initconio
-
; Pass an empty command line
jsr push0 ; argc
jsr push0 ; argv
sta CURS_X ; Set X
jmp plot ; Set the cursor position
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
.byte >($0000+(line*$80))
.endrepeat
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
some graphical petscii chars should get added to the charset
-conio-init should get initialized from a constructor rather than always get
-called from crt0 (which for some reason doesnt work) -> see conio.s, it should
-get linked if _any_ of the conio function is used
-
interruptor support in crt0 (and cfg) is missing
+conio lacks support for different screen sizes, which could be used with
+different video modes
+
--------------------------------------------------------------------------------
a good emulator to use for PC-Engine is "mednafen" (mednafen.sourceforge.net)
+; FIXME: actual revers output is not supported yet
+
.export _revers
_revers:
lda #0
rts
+
+;-------------------------------------------------------------------------------
+; force the init constructor to be imported
+
+ .import initconio
+conio_init = initconio
ldy ysize
rts
+; FIXME: changing the video mode allows for different screen sizes
+
.rodata
.export xsize, ysize
gotoxy(0,8);
clk = clock();
cprintf("clock: %08lx", clk);
-
+
for (i = 0; i < 4; ++i)
{
gotoxy(0, 12 + i);
}
}
for(;;);
-}
\ No newline at end of file
+}