-
RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM : ;print a long string "help me" start .org 32000 ld a,2 call 5633…
... ,(de)
inc de
RST 16
jr loop
data ... : unrecognized argument. which is the RST 16
Is it something ... -
Using RST 16 and udg flickerHi there! I'm using UDGs and RST 16 to make a simple canyon bomber game. I've got the game mechanics working ( finally ) but now I'd like to make …
... /> I'm using UDGs and RST 16 to make a simple canyon ... -
z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…
... around z80 assembly. It's slow going and I was beginning ... ,'*' ; want an asterisk here.
rst 16 ; display it.
call delay ... ; ASCII code for space.
rst 16 ; delete old asterisk.
call ... -
Codies help? Werewolves of LondonHi All, never one for shying away from the deep end, having only just dipped my toe in to the world of machine code I find myself trying to find out …
... code there is, in general, slow for a couple of reasons ... ROM.
[/quote]
RST are fast single-byte calls ... RST locations, and this is what is done on the Spectrum. RST 16 ... (print) and RST 48 (calculator) are useful ... -
Sinclair Basic Vs PascalWith the rise of the structured programming movement (Jackson et al) was it wise to put the Basic programming language into the Spectrum. By this ti…
... RST 16 is one of rare examples where MC is almost so slow ... -
Scrolling Loader CounterPlease can someone help me with writing a scrolling counter for a loading system. I like the Hewson counter so i`ve taken the font from zynaps loade…
... to print udg`s using RST 16 but they`re static. [/QUOTE ... can't use RST 16 - it's much too slow. You also have ... -
Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …
... print to the screen via RST 16 then the characters will inherit ... Code....by calling the same slow ROM routines that BASIC uses ... -
Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …
... lines of code?[/QUOTE]
RST 16 also handles colour, it's ... print to the screen via RST 16 then the characters will inherit ... Code....by calling the same slow ROM routines that BASIC uses ... . :???:[/QUOTE]
The BASIC is slow in calculating. When you use ... -
User Defined GraphicsCan someone please give some very simple code for a displaying a UDG at a location on screen? Any assistance would be greatly appreciated. Sincerely…
... routine for printing chars (the rst 16 thing) just using the char ... can cause problems and are slow however. At some point moving ... -
Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …
... afraid! I managed to use RST 16 quite well, but as you ... ? It doesnt matter if its slow or not -
Multi-sized character screen driverFollowing on from the thread on [url=http://www.worldofspectrum.org/forums/showthread.php?t=24618&page=14]character output routines[/url], I've dug o…
... than the in built Spectrum RST 16 routine, not having to do ... and all the other bits RST 16 may do. I was most ... it was slightly slower than RST 16! (Unfortunately, I no longer have ... wrote it to be so slow) -
Multi-sized character screen driverFollowing on from the thread on [url=http://www.worldofspectrum.org/forums/showthread.php?t=24618&page=14]character output routines[/url], I've dug o…
... than the in built Spectrum RST 16 routine, not having to ... all the other bits RST 16 may do. I was ... it was slightly slower than RST 16! (Unfortunately, I no longer ... wrote it to be so slow)[/QUOTE]
... to make it faster than RST 16. There's a challenge ... -
Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…
... /> ld a,21 ;OVER
rst 16
ld a,1 ;...is ... switched on
rst 16
call print_string ;PRINT ON ...
lp halt ;just to slow things down so we can ... /> rst 16
ld a,(ycor)
rst 16
ld a,(xcor)
rst 16 ... -
Using RST 16 and udg flickerHi there! I'm using UDGs and RST 16 to make a simple canyon bomber game. I've got the game mechanics working ( finally ) but now I'd like to make …
... I'm using UDGs and RST 16 to make a simple canyon ... 949 which will be quite slow), potentially leaving a couple ... ?
But using RST 16 you shouldn't get any ... moves, ie only rst 16 an empty space (or RST OVER) the ... sprite positions (when using RST 16). -
Clearing 22 lines of the screenHow do I go about clearing the top 22 lines of the screen and leave the bottom #0 area untouched? I have a routine to reset the attributes, but cant…
... similar routine, its a bit slow though for a flip screen ... that I'm surprised the RST 16 routine isn't quick enough ... bash and it does look slow, like an intentional scroll down ... -
TommyGun's getting a Debuggerhttp://youtu.be/B_kZVRvYV98 I have always wanted to debug the programs I write in TommyGun using TommyGun instead of the debuggers in emulators. …
... this.
I hi-jacked rst 16 (rom print - i never use ... (8 bit) or 2 bytes (16 bit) variable.
You can ... tight loops as they would slow the emulator down too much ... -
The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…
PRINT AT in assembler Hello everyone, I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC programming, bu…
... />
LD a,22
RST 16
LD a,10 (x ... -coord)
RST 16
LD a,20 (y ... -coord)
RST 16
LD a,65 (character ... code)
RST 16
I might have ...Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…
... a,"0" ; display number
rst 16 ; with print
ret ; Back ...MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…
... using ROM-routines (i.e. RST 16).
or return to BASIC ...Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …
... your program calls ROM routines ( RST 16 and jump
table vectors ...Assembler snippetsI was just thinking that a thread for small but useful assembler snippets to do useful things would be cool for people learning z80 coding. Not to me…
Machine code sub routinesHi everyone, I have noticed that in machine code you can call different "preset" routines like rst 16 or something, or call 6533... where can i fi…
... call different "preset" routines like rst 16 or something, or call 6533 ...Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…
... kind of ROM based code, RST 16 (?), but can that print more ...Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…
... 255
ret z
rst 16
inc hl
jr ... /> text defb 22,6,15,16,4,18,1 ; AT 5 ...quick - Zx80 ASM questionWhile I am ploughing through lots of ASM listings, one of my earlier adaptation attempts surprised me [B][asm code][/B] [code] org 32768 start: ld…
... done if it is
rst 16 ; spectrum: print the character in ...Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…
... 5633
CC_INK: EQU 16
CC_PAPER: EQU 17< ... ret z ; so exit
rst 16 ; print the character
... $bf
key_pause_pattern: defb 16
key_quit_port: defb $df< ... br /> key_quit_pattern: defb 16
msg_up: defm CC_AT,7 ...