-
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... />
I thought my interrupt handling routine was faulty and somehow damaging ... stack at the end of interrupt is exactly the same as ... it before the interrupt.
Because my routine for loading .SNA ... -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... - it can't be display_screen() routine, otherwise at least one game ... can't be snapshot loading routine, otherwise some wrong data ... may be wrong with my interrupt mechanism/keyboard reading. Let ... with interrupts. Here's my interrupt handler:
[CODE ... -
BUZZSAW+ Demo No. 3Right, another demo of BUZZSAW+. [URL="http://www.joefish.co.uk/speccy/Joefish_Buzzsaw_Demo_3.tap"]Joefish_Buzzsaw_Demo_3.tap[/URL] The default con…
... top of memory, and an interrupt table in the page below ... working on making the sprite routine run as fast as possible ... -
Gigascreen - programming guideDoes anyone know of a programming guide for the 128K gigascreen screen mode, specifically a persistence colours table, some code (pref. C level or BA…
... show vram1, etc.... After next interrupt (next TV frame) this mode ... 49152. After load run special routine for show gigascreen mode - each ... -
z88dk hates me =(Hello there my fellow WoS'ers Under the power of darkness I was about to settle in and play with some SP1 sprite handling (as printf is simply NOT f…
... ROM, in particular the ROM interrupt service routine. So you will need ... -
Empire! Help neededCan anyone convert the listing in the Tipshop to Multiface pokes? Im having a hard time with this game, over 15 years playing it, now I could do wit…
... /> It's using an IM2 routine to display the animated starting ... , and on the +3 the interrupt vector is being calculated incorrectly ... -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... . If every interrupt service routine enabled interrupts directly ... after EI, then another, higher priority interrupt ... enable an "interrupt within interrupt". If we ... enabling interrupts within interrupt service routines? They ... -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... you mean. If every interrupt service routine enabled interrupts directly after EI ... device to try to interrupt its own ISR routine whether that be ... once or a regular interrupt's service routine takes longer than expected ... -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
[QUOTE]
It's very easy to write to ROM - I can do it right now, with (as you stated) a simple LD (HL),n opcode with HL set to -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... instruction immediately after return from interrupt handling routine, should it be executed ... -
Z80 sound enginesI'm looking for a decent sound engine to use in a Z80 program I'm writing, but I've no idea which is the best/fastest/easiest to use. I could do wit…
... least amount of time every interrupt.
I tried Romford from ... it uses the beeper ROM routine.
So, any ideas ... -
Z80 sound enginesI'm looking for a decent sound engine to use in a Z80 program I'm writing, but I've no idea which is the best/fastest/easiest to use. I could do wit…
... routine to manage the timing. The less time you allocate each interrupt ... precise, so for a beeper routine you could just feed 0s ... -
Z80 sound enginesI'm looking for a decent sound engine to use in a Z80 program I'm writing, but I've no idea which is the best/fastest/easiest to use. I could do wit…
... routine to manage the timing. The less time you allocate each interrupt ... precise, so for a beeper routine you could just feed 0s ... re-fill the buffer each interrupt.[/QUOTE]
Yes, I ... -
Getting the contents of tablesHi All, I'm risking a potentially daft question here as it seems pretty fundamental but here goes: What's the best way of pointing register pairs a…
... . [/QUOTE]
[B]Beginner's advice[/B]:
Never ... :)
[B]No so beginner'a advice[/B]:
IY ... you know exactly when an interrupt happens ( a hard job if ... )
-set your own interrupt (probably the best solution) -
IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…
... "? Unless there's a sub-routine of SCANNING which can be ... , unless it's possible to interrupt the expression evaluation while the ... -
Add horizontal hardware scroll to ULA+In this case we must read a bit in the ULA+ for test if supported. And the future software that uses it must have to branch: 1. If hardware scroll i…
... the timing of your IM2 routine has just changed massively.[/QUOTE ...
OUT Linecounterport,128 = do interrupt after 128 lines was passed ... -
Add horizontal hardware scroll to ULA+In this case we must read a bit in the ULA+ for test if supported. And the future software that uses it must have to branch: 1. If hardware scroll i…
[QUOTE=Philip Kendall;574230]Because the timing of your IM2 routine has just changed massively.[/QUOTE]
I understand. For some reason I keep forgetting that in reality there's just one interrupt used for everything. I stand corrected. -
Add horizontal hardware scroll to ULA+In this case we must read a bit in the ULA+ for test if supported. And the future software that uses it must have to branch: 1. If hardware scroll i…
... the timing of your IM2 routine has just changed massively.[/QUOTE ... 'd only enable your (programmable?) interrupt if you actually wanted it ... written to understand an extra interrupt wouldn't enable it, so ... -
Simple SpriteHow do you draw a sprite on the screen? For example i want to draw a smiley face sprite and would like either a link to a tutorial or a very well com…
... /> Because it's not a beginner's guide it took me ... game, it's a handy routine to CALL as I've ... -
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 …
... this is not a sprite routine but a pixel printing wide ... UDG routine).
If this ... , you should look at the beginner tutorials written by JC and ... -
Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…
... . You have to get the interrupt to trigger at exactly the ... it.
When the interrupt occurs, it has to wait ... T-State delay before your routine begins. You can factor it ... -
Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…
... . You have to get the interrupt to trigger at exactly the ... it.
When the interrupt occurs, it has to wait ... T-State delay before your routine begins. You can factor it ... -
converting ZX128 software for SAM COUPESAM COUPE is computer compatible with ZX48 model. Use same ports, same keyboard with compatible membrane, 64kB adress space with possibility connect …
... . I add to interrupt code easy slow-down routine and speed is ... -
Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…
... (Spectrum Machine Code for Absolute Beginner) and I want, after all ... do, look at a small routine written by someone else, try ... -
PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…
... DRAW is not really a beginner topic unless you are comfortable ... a screen address using a routine like the above. This is ... approach to take. Any draw routine should be modifying a screen ... -
Willy Meets The BeatlesHere's the almost complete release of Willy Meets The Beatles, which you can download from [URL="http://www.sendspace.com/file/55ps31"]HERE![/URL] T…
[QUOTE=gasman;596430]The player routine is 1084 bytes long and ... and setting up an IM2 interrupt handler. The title tune, provided ... -
Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…
... . You have to get the interrupt to trigger at exactly the ... it.
When the interrupt occurs, it has to wait ... cycle accuracy. See the CODETIME routine in my [URL="http://zxds ... routine to wait the necessary amount of cycles to make the interrupt ... -
Precisely timed loops in assemblyI'm looking for a way to make my code stop until the raster has reached the lower screen border (right after having drawn the last pixel line). I und…
... learn in there, like the routine for waiting exactly the specified ... aligning your code with the interrupt precisely. Combined with the timing ... -
A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…
... worry about writing a sprite routine, a joystick handler and you ...
