02-14-2011, 08:03 AM
(This post was last modified: 10-11-2021, 12:41 PM by boriel.
Edit Reason: Fix url
)
slenkar Wrote:ok I got tommy gun working,For a 2nd UDG, just put the data following the first one; that is: 16 bytes together
this is the code to put the fruit into memory:
POKE UINTEGER 23675, @udg(0, 0):
what if I wanted to create a second UDG
Would I change the 23675 number to something different?
Code:
DIM udg(16) as ubyte => { nn, nn, nn, nn, nn, _' Line break allowed using the "_" character
nn, nn, nn} : REM Up to 16 bytes
POKE UINTEGER 23675, @udg(0)
Code:
DIM udg(1, 7) as ubyte => { { 01, 02, 03, 04, 05, 06, 07, 08}, _ ' Line break with character '_'
{01, 02, 03, 04, 05, 06, 07, 08}} : REM 2nd UDG
POKE UINTEGER 23675, @udg(0, 0)
slenkar Wrote:Also, do you know of a speccy emulator that accepts commandline arguments and can load a tzx file in quickly?(not spectacular)I use EmuZWin: https://www.zophar.net/sinclair/emuzwin.html
Ive found 2 emulators but they only do one of the above each :x
Unfortunately, it seems abandoned since 2008. It runs ok in Windows XP. If you want to test it under Vista or Win7 you might want to enable "compatibility mode".