![]() |
[msx] issues on allocated variables and arrays into ram? - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: [msx] issues on allocated variables and arrays into ram? (/showthread.php?tid=565) |
[msx] issues on allocated variables and arrays into ram? - nitrofurano - 08-16-2013 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 <!-- m --><a class="postlink" href="http://img850.imageshack.us/img850/8881/d393.png">http://img850.imageshack.us/img850/8881/d393.png</a><!-- m --> (it should be more like <!-- m --><a class="postlink" href="http://nitrofurano.altervista.org/retrocoding/msx/pics/lg_ChrSprDemoScr4.png">http://nitrofurano.altervista.org/retro ... moScr4.png</a><!-- m --> ) 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! ![]() Re: [msx] issues on allocated variables and arrays into ram? - nitrofurano - 08-17-2013 this attachment with the msx1 version, with similar issue Re: [msx] issues on allocated variables and arrays into ram? - nitrofurano - 08-17-2013 for example, from <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:DIM">http://www.boriel.com/wiki/en/index.php/ZX_BASIC:DIM</a><!-- m --> 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) ) |