-
Z80 register decoding document error?Hi, I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). [url="http://www.z80.info/decoding.htm…
... out whether to accept an interrupt or not. Therefore it must ... -
About z88dk and autoexecsThis weekend I was playing a little with z88dk C cross Compiler. Amazing tool! I have three questions: 1- Does anybody know how to change the initia…
... . You may need to adjust interrupt mode and int falgs also ... -
Does ScanLine[0] have a left border?My emulator couldn't handle Cobra or ShortCircuit so I added some rough port FF values. I now want to make it a bit more accurate. The FAQ gives me a…
... be the start of the interrupt just for convenience; there's ... -
InterruptsCan someone help with providing some info or a link about IM 2. I know I need to create a vector table and want to store this as high in memory as po…
... a table of vectors of interrupt routines that service different devices ... the low byte of the interrupt vector is generated as FF ... -
InterruptsCan someone help with providing some info or a link about IM 2. I know I need to create a vector table and want to store this as high in memory as po…
... get the address of the interrupt service routine that is ... 256+1 to store its interrupt service routine address. A ... odd peripheral ids means that interrupt service routine addresses overlap in ... call address $fefe whenever an interrupt occurs in im2.
< ... -
Port 0x7ffd Partial DecodingI'm trying Pitfighter on my emulator and it runs in +2A/+3 mode but crashes in 128k/+2 mode. I traced it down to an OUT instruction which sends 4 to …
... the I register =0x7e in interrupt mode 2. Not a problem ... -
Hypersports problem - freezes before 1st event?I am using Fuse on Mac OSX, have tried a few of the available Hypersports in the archive now, but each one appears fine until I start the first event…
... reveals that the "improved" retriggered interrupt code in 0.7.0 ... -
Hypersports problem - freezes before 1st event?I am using Fuse on Mac OSX, have tried a few of the available Hypersports in the archive now, but each one appears fine until I start the first event…
... reveals that the \"improved\" retriggered interrupt code in 0.7.0 ... -
Interrupt timingsHow long does the ULA hold /INT low for on interrupt on each of the Spectrum models?
... from executing before the next interrupt occurs. I suppose it's ... -
New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…
I'm using the colt... Interrupt-driven sprites and fast math. ... -
New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…
This is what I've compiled so far:
[quote]Resources
=========
* Make all caps
---------------
You can turn CAPS LOCK on or off using a simple poke to 23658:
POKE 23658,8: REM CAPS ON
... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
Won't PAUSE 1: LET f=PEEK 23672+256*PEEK 23673 do the trick as PAUSE ends just after an interrupt? -
Flicker on my scrolling demo, any ideas?I have created a scrolling demo downloadable from [url="http://www.peargames.co.uk/downloads/scroll.z80"]http://www.peargames.co.uk/downloads/scroll.…
... wait about 14500 T after interrupt and then start scroll routine ... -
Worst Game Music And SoundWhat do you think was the worst speccy music and sound. My vote is for "Miner Willy" great game but the music at the begining was like nails on a cha…
... effort (48k only) but was interrupt driven (like JSW I imagine ... -
"Sinclair Zx Spectrum: Absolutely Better Than Commodore 64"Did you ever read this? [url="http://www.alfonsomartone.itb.it/fztsmo.html"]http://www.alfonsomartone.itb.it/fztsmo.html[/url]
Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…
... GetKey is part of an interrupt service routine
; then time ...New horizontal scrolling gameI have just been working on this for the last months. Heres a snapshot, let me know what you think. [url="http://www.geocities.com/ruijtunest/rtun…
... screen update routine, in an interrupt routine if need be. The ...Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek
... 's description of the IM2 interrupt acknowledge as being different from ...FrameSyncIt was many many years ago since i programmed assembly on the spectrum but I just picked it up again for fun. Now this is one thing I can't remember…
Derek,
You couldn't be nice and post a snippet with initialisation code for the interrupt? :)
I always find IRQ-initialisation to be a pain in the *** and loose my patience :)
(Am I lazy? Yes.)
:)
/MattiasFrameSyncIt was many many years ago since i programmed assembly on the spectrum but I just picked it up again for fun. Now this is one thing I can't remember…
.AY - how to create themI wonder - how would I go about creating an .AY file (music) from a game? I understand that once I have all the necessary pieces (the player, the mus…
... are not simply, it uses interrupt routines too
3)as ....AY - how to create themI wonder - how would I go about creating an .AY file (music) from a game? I understand that once I have all the necessary pieces (the player, the mus…
... are not simply, it uses interrupt routines too
3)as ...wouldnt it be good if:I know that some guy basicly said he waqs going to do what Im suggesting here but anyway: I was thinking and worring about the future of the spectrum…
... search, block memory allocator, im2 interrupt lib, doubly linked list data ...Waiting for retraceHi. Is there any code available that performs a simple wait for the screen retrace thats callable from C? Thanks.
... />
// This waits for next interrupt.
#asm
halt ...z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…
... the music updated" in the interrupt service routine, and it works ...z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…
... with, making sure that the interrupt code (and any music player ... are paged in when the interrupt routine runs.
All ... the music updated" in the interrupt service routine ... In moggy, I ... been using Soundtracker in an interrupt as well, and I've ...z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…
... set registers in the next interrupt. Same thing with sprite data ...z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…
... that is executed during the interrupt. With code guaranteed to run ...z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…
... set registers in the next interrupt. Same thing with sprite data ...