-
incbin in z80asmUsing z80asm (as shipped with Z88DK) is it possible to include binary files (i.e. incbin)? If so how?
... /> extern uchar bptr[];
#asm
._bptr
BINARY "file ... 've enclosed the above in #asm/#endasm to make sure the ... />
A warning for z80 asm code writers (not binaries): z80asm ... -
Background image with SP1 and Z88DKWhat is the prefered way to place an entire (or very large) image in the background when using SP1? Should I convert it to a long (32*24=768 ) list o…
... /software/sp1/spectrum/tiles/SP1PrintString.asm?revision=1.1&view ... -
Background image with SP1 and Z88DKWhat is the prefered way to place an entire (or very large) image in the background when using SP1? Should I convert it to a long (32*24=768 ) list o…
... much bigger than the equivalent asm code. You might want to ... -
ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…
... graphics defined in the embedded asm at the end of the ... -
ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…
Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…
... provided by Chris Busch (rand.asm found on
; many ZShell ...Machine Code noviceHi, I'm starting to learn machine code and wanted to know if you have to use some sort of program to write machine code? Thanks,
I'd recommend the assembler in SPIN which was advised to me.
You see, I'm a MC novice myself and I've found that it's a
no fuss, type in your asm and run it kind of thing. Very helpful
if you're just starting out with MC. :)compilerI am currently developing a sudoku game for the old faithful speccy. My idea is to write the code in basic and then compile it to m/c because i suck …
... of (mostly)
hand written asm functions -- but I'd agree ... written in C (rather than asm) so they are slower ... as fast as hand coded asm
but still many ... causing
the slowness in asm either yourself or with a ... /> z88dk allows mixing of asm and C.Loading schemes18 years ago I hated loading schemes like Alcatraz and Speedlock because they were a b*tch to copy and became unreliable when the tape got older. Now…
... point is 65024 (start of asm), the IX should hold the ... the error. I rechecked the asm three times so there is ...Calling ROM routinesFirstly, sorry if this is the wrong forum to post this in, but I wasn?t quite sure under which heading is best fitted. I?m trying to figure out how…
... /z88dk/z88dk/libsrc/spectrum/zx_locatenum.asm?revision=1.2&view ... =markup"]zx_locatenum.asm[/URL] is what you may ...Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
... to exit to basic from asm or C. The interesting thing ... , basic returns back to the asm or C program. So your ... could be called from C/asm (to do disk i/o ... " to return to the C/asm program. Quite nifty I would ...Calling ROM routinesFirstly, sorry if this is the wrong forum to post this in, but I wasn?t quite sure under which heading is best fitted. I?m trying to figure out how…
... /z88dk/z88dk/libsrc/spectrum/zx_goto.asm?revision=1.1&view ... =markup"]zx_goto.asm[/URL] This one will jump ... number) and return to your asm when STOP is executed in ...What was *the developers'* choice?While reading this forum, I came to a question which I have never thought about. What was the developers' choice of language back in 80's? are all…
... individual programmer's collection of asm routines that he reused an ...Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
... /z88dk/z88dk/libsrc/spectrum/zx_goto.asm?revision=1.2&view ... =markup"]zx_goto.asm[/URL] from which you can ... /z88dk/z88dk/libsrc/spectrum/currah_direct.asm?revision=1.1&view ... =markup"]currah_direct.asm[/URL] function that will load ...Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
... /z88dk/z88dk/libsrc/spectrum/zx_goto.asm?revision=1.2&view ... =markup"]zx_goto.asm[/URL] from which you can ... /z88dk/z88dk/libsrc/spectrum/currah_direct.asm?revision=1.1&view ... =markup"]currah_direct.asm[/URL] function that will load ...Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
Detect if program was loaded from tape or microdriveHow (if at all) can a BASIC program detect if it was loaded from tape or microdrive? This can be helpful to then load the screen or more machine code…
... z88dk/z88dk/libsrc/spectrum/if1_from_mdv.asm?revision=1.1& ... view=markup"]if1_from_mdv.asm[/URL] : check if program ... z88dk/z88dk/libsrc/spectrum/if1_installed.asm?revision=1.1& ... )
These are asm functions that interface using the ...Detect if program was loaded from tape or microdriveHow (if at all) can a BASIC program detect if it was loaded from tape or microdrive? This can be helpful to then load the screen or more machine code…
... z88dk/z88dk/libsrc/spectrum/if1_from_mdv.asm?revision=1.1& ... view=markup"]if1_from_mdv.asm[/URL] : check if program ... z88dk/z88dk/libsrc/spectrum/if1_installed.asm?revision=1.1& ... )
These are asm functions that interface using the ...ZXLFN - storing tape header in a long file nameHi lads ;) Couple of months ago, the group of guys interested in divIDE software development has came up with an interesting idea - store tape heade…
... don't currently use an asm that creates .TAP files, tho ...ZXLFN - storing tape header in a long file nameHi lads ;) Couple of months ago, the group of guys interested in divIDE software development has came up with an interesting idea - store tape heade…
... /> There is also TommyGun for asm people that will build and ...Alien8 style 3D Tiles - TheoryHello, Are there any articles etc explaining how to do 3d style tiles, i.e. when to redraw those in front etc. I would guess you would need to work…
... 32K ram available writing in asm, i don't think its ...In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…
[QUOTE=icabod]
Of course that doesn't quite work in z80 asm, but I like to be picky. Hoorah![/QUOTE]
Easily fixed:
[CODE]a = a XOR b
b = a XOR b
a = b XOR a[/CODE]In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…
In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…
... /z88dk/libsrc/adt/heap/ADTHeapify.asm?revision=1.2&view ... /z88dk/libsrc/adt/heap/ADTHeapExtract.asm?revision=1.2&view ... /z88dk/z88dk/libsrc/stdlib/Lqsort.asm?revision=1.1&view ...How to speed up TZX loading (emu development)With many newer emulators there are options to do faster loading schemes, even for turbo-loader or protected loader blocks in TZX files. For example,…
... decrement etc. Converted it to asm as well for a small ...RAM Test ROM?Found a link to this: [url]http://www.retroreview.com/iang/TestSpec4.zip[/url] in another thread, and fired it up in SPIN, but I have no clue how to…
... ://www.retroreview.com/iang/TestSpec4.asm[/url][/QUOTE]
Sadly only ...How are people developing?Are most coding on actual HW or under emulation, or cross developing?
I use PASMO on my PC with the CONTEXT editor.
I have a "hotkey" defined in CONTEXT to assemble the current "asm" file to a TAP file.
I use Spectaculator 6.25 as my emulator, and for debugging.
I use 7UP for GraphicsHow are people developing?Are most coding on actual HW or under emulation, or cross developing?
... the day I did write asm programs using Zeus Assembler. I ...