SC5/SC8 speed with xbasic

Page 2/2
1 |

By ARTRAG

Enlighted (6828)

ARTRAG's picture

10-01-2008, 17:00

Thanks !
Do you have a link to an on line version of the manual ?
PS
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 (5601)

JohnHassink's picture

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.

By ARTRAG

Enlighted (6828)

ARTRAG's picture

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
Smile

By [D-Tail]

Ascended (8258)

[D-Tail]'s picture

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 http://www.konamiman.com/.
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 ;))

By NYYRIKKI

Enlighted (5917)

NYYRIKKI's picture

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: www.msx.fi/nyyrikki

Page 2/2
1 |