FAQ  •  Register  •  Login

[msx] issues on allocated variables and arrays into ram?

<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Fri Aug 16, 2013 9:07 pm

[msx] issues on allocated variables and arrays into ram?

i'm trying to recode my msx-basic stuff into boriel's zxbasic compiler, but i think i'm struggling a bit - the sprites are not moving and gets the x position as same as y position

http://img850.imageshack.us/img850/8881/d393.png (it should be more like http://nitrofurano.altervista.org/retro ... moScr4.png )

i tried to allocate all variables into ram area, but i think i'm struggling also to allocate arrays there - i tried to simulate that with poke/peek, but it seems it's not resulting

the attachment has the sources, the compiled .rom file, and the .asm for debugging - thanks in advance! :)
Attachments
msx_zxbasiccompiler_chrsprdemo04_201308162200.zip
(23.8 KiB) Downloaded 155 times
<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Sat Aug 17, 2013 12:27 pm

Re: [msx] issues on allocated variables and arrays into ram?

this attachment with the msx1 version, with similar issue
Attachments
msx_borielzxbasiccompiler_chrsprdemo02_20130817132506.zip
(23.16 KiB) Downloaded 135 times
<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Sat Aug 17, 2013 1:30 pm

Re: [msx] issues on allocated variables and arrays into ram?

for example, from http://www.boriel.com/wiki/en/index.php/ZX_BASIC:DIM i'm seeing that i can't do ‘dim qqq(31) as uinteger at $E100’ ? (and great would be if we could define (as pragma? :S ) where the variables, declared or not, should be in the ram memory (note that, for now, i'm using Boriel's ZX-Basic Compiler for compiling msx code into .rom files, not to be loaded at ram) )

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO