Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[msx] issues on allocated variables and arrays into ram?
#1
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! Smile


Attached Files
.zip   msx_zxbasiccompiler_chrsprdemo04_201308162200.zip (Size: 23.8 KB / Downloads: 285)
Reply
#2
this attachment with the msx1 version, with similar issue


Attached Files
.zip   msx_borielzxbasiccompiler_chrsprdemo02_20130817132506.zip (Size: 23.16 KB / Downloads: 262)
Reply
#3
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) )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)