Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2013-11-02
19:03:42
 Re: new basic command - Új basic utasítás

I think this might be what you're looking for, there are two ROM routines that can help:
$9491 : check comma
$9D84 : get one byte to x register.

This little example will let you set a TED register:
A 012C JSR $9491
JSR $9D84
STX $D0
JSR $9491
JSR $9D84
TXA
LDX $D0
STA $FF00,X
RTS


To use, you can do something like this:
SYS300,DEC("15"),DEC("32") : REM $32 to $FF15, set background color to red
SYS300,DEC("11"),DEC("38") : REM $38 to $FF11, turn up the volume and turn on both channels




Back to top


Copyright © Plus/4 World Team, 2001-2024