SC5/SC8 speed with xbasic

Страница 2/2
1 |


Enlighted (6935)

Аватар пользователя ARTRAG

10-01-2008, 17:00

Thanks !
Do you have a link to an on line version of the manual ?
do you know a way to peek inside the asm code that xbasic generate ?
I'd like to see how copy commands are translated according to the
passed parameters

By JohnHassink

Ambassador (5671)

Аватар пользователя JohnHassink

10-01-2008, 17:22

Coincidentally, I'm programming a game ATM which features parallax scrolling and uses X-BASIC.

You may study/experiment with the code if you desire.


Enlighted (6935)

Аватар пользователя ARTRAG

10-01-2008, 17:25

In order to study the asm produced by xbasic, a test program is far better than exploring a full program

By [D-Tail]

Ascended (8263)

Аватар пользователя [D-Tail]

10-01-2008, 22:05

ARTRAG: I'm not as much into ASM as you - I have absolutely no clue how, where and when XBASIC generates ASM from BASIC. Well, when -> At the start of a turbo block Tongue
You should ask Nestor Soriano for this. He has programmed NBASIC, a full-feature superset of XBASIC. I think he knows what's under the hood. You can find him here in the forums, or at
DemonSeed: if you're going to the Nijmegen fair, please take that stuff with you! I guess we could go over the thing together and adapt it for NestorBASIC (if you're not already using that, that is ;))


Enlighted (6067)

Аватар пользователя NYYRIKKI

11-01-2008, 17:21

Most easy way to check, how compiled programs work is to take MSX tR emulation on BlueMSX (This is because X-BASIC is included to this configuration. You can find it from slot 3-3) and then load Super-X. After executing your program you can find compiled program right after the BASIC program. (If this is not changed BASIC program starts from #8000)

Compiled X-BASIC program uses quite a lot of CALL commands to X-BASIC ROM, so other monitor programs are not very good for following the program execution.

Super-X and manual can be downloaded from my page:

Страница 2/2
1 |