Search found 145 matches
- Mon Feb 14, 2022 6:49 pm
- Forum: Programming
- Topic: Fastest way to do a little BEEP
- Replies: 28
- Views: 1162
Re: Fastest way to do a little BEEP
The play loop NOT being a multiple of 8T is the most important factor if running in NON-contended memory, since all the other factors (related with contended memory don't apply). Indeed, adding a RET Z after the OR C should fix the 8T alignment. Which is nice, because it wouldn't actually increase ...
- Mon Feb 14, 2022 1:57 pm
- Forum: Programming
- Topic: Fastest way to do a little BEEP
- Replies: 28
- Views: 1162
Re: Fastest way to do a little BEEP
Oh it's noticeable... ... I never listened to such a difference. There must be something wrong with that code or the emulator. Either Interrupts or assuming that the same memory pages are uncontended in every machine or something like that. Can you share the code, for us to take a look ? Did you tr...
- Mon Feb 14, 2022 2:06 am
- Forum: Programming
- Topic: Fastest way to do a little BEEP
- Replies: 28
- Views: 1162
Re: Fastest way to do a little BEEP
... Also, you'll get a little distortion with that method on models which are subject to I/O contention, because the loop will take longer when the ULA is drawing the screen than when drawing the border. That is barely noticeable, since it only happens in between transitions of contention and non-c...
- Sun Feb 13, 2022 1:44 am
- Forum: Programming
- Topic: Fastest way to do a little BEEP
- Replies: 28
- Views: 1162
Re: Fastest way to do a little BEEP
This is pretty short, but so are the beeps!
Code: Select all
; beep
; entry: d = pitch, e = duration
loop0: djnz loop1
xor (hl)
out (#fe), a
dec e
ret z
beep: ld b, d
loop1: ld hl, loop0
jp (hl)
- Sat Feb 12, 2022 8:20 pm
- Forum: Programming
- Topic: Fastest way to do a little BEEP
- Replies: 28
- Views: 1162
Re: Fastest way to do a little BEEP
Fine, @utz, it's like mine but with less bytes, congrats. But there's something odd... these routines make beeps not like ROM ones, but like the intro of Skool Daze: Do you have interrupts enabled? Also, you'll get a little distortion with that method on models which are subject to I/O contention, ...
- Fri Feb 11, 2022 5:03 pm
- Forum: Sinclair Miscellaneous
- Topic: Spectranet - the TNFS directory thread
- Replies: 95
- Views: 5338
- Mon Feb 07, 2022 3:01 pm
- Forum: Hardware
- Topic: My new Gotek in a +3... Some serious style. Feedback sought.
- Replies: 7
- Views: 369
Re: My new Gotek in a +3... Some serious style. Feedback sought.
It isn't a self-signed certificate, the CA is Let's Encrypt. Some older platforms can't validate their certs.
- Mon Jan 03, 2022 11:20 pm
- Forum: Emulators
- Topic: Clock Timer (CLK)
- Replies: 5
- Views: 312
Re: Clock Timer (CLK)
There's a topic about Clock Signal started by the author on this very forum.
- Mon Jan 03, 2022 1:53 pm
- Forum: Emulators
- Topic: Clock Timer (CLK)
- Replies: 5
- Views: 312
Re: Clock Timer (CLK)
Looking at the sources:- https://github.com/TomHarte/CLK/tree/master/Storage/Tape/Formats https://github.com/TomHarte/CLK/tree/master/Storage/State https://github.com/TomHarte/CLK/tree/master/Storage/Disk/DiskImage/Formats The +3 DSK format is covered by MFMSectorDump, but you need to specify the ma...
- Mon Dec 20, 2021 9:11 am
- Forum: Games/Software
- Topic: Say something positive about a game universally regarded as abysmal
- Replies: 51
- Views: 2102
Re: Say something positive about a game universally regarded as abysmal
Outrun - It has an AY rendition of Magical Sound Shower on the 128k.
Renegade III - Taught school children everywhere that positive reviews in 'reputable' publications could be bought.
Cassette 50 - Without it there would be no CSSCGC.
Renegade III - Taught school children everywhere that positive reviews in 'reputable' publications could be bought.
Cassette 50 - Without it there would be no CSSCGC.
- Wed Dec 15, 2021 3:53 pm
- Forum: Programming
- Topic: BASIC variables and machine code
- Replies: 11
- Views: 484
Re: BASIC variables and machine code
You could maybe make use of the LOOK-VARS routine from the ROM. Something like this:- look_vars equ $28b2 ch_add equ $5c5d ld hl, (ch_add) push hl ld hl, varname ld (ch_add), hl call look_vars jr c, notfound ; do something with the variable here notfound: pop hl ld (ch_add), hl ret nc rst $08 db $01...
- Fri Oct 01, 2021 12:48 am
- Forum: Sinclair Miscellaneous
- Topic: Spectrum memes
- Replies: 1235
- Views: 200675
- Fri Aug 13, 2021 1:02 pm
- Forum: Hardware
- Topic: Interesting video on TZXduino and tape speed
- Replies: 5
- Views: 339
Re: Interesting video on TZXduino and tape speed
Is there a way to get a Maxduino/Tzxduino to output OTLA encoded content? Yes, although the TZXDuino/MaxDuino firmware can't do it... A while ago I wrote my own firmware for the TZXDuino as a proof of concept which could output TZX files created by OTLA, which comprise of a single ID15 (Direct Reco...
- Wed Aug 11, 2021 11:28 am
- Forum: Sinclair Miscellaneous
- Topic: Light gun question
- Replies: 1
- Views: 133
Re: Light gun question
Assuming you mean the Magnum Light Phaser, it uses KEYPAD port (AUX on the +2A/+3).
- Wed Aug 04, 2021 6:22 pm
- Forum: Games/Software
- Topic: Games with random and good demo modes
- Replies: 6
- Views: 282
Re: Games with random and good demo modes
Gilligan's Gold - It's demonstration mode always reminded me of a slapstick comedy sketch you'd expect to see on the the likes of The Goodies.
EDIT: Just took a look at it, and it does seem it's actually a handful of different scripted runs. Guess I didn't know any better when I was a kid!
EDIT: Just took a look at it, and it does seem it's actually a handful of different scripted runs. Guess I didn't know any better when I was a kid!
- Fri Jul 09, 2021 11:00 am
- Forum: Sinclair Miscellaneous
- Topic: Changes to Homebrew games
- Replies: 18
- Views: 873
Re: Changes to Homebrew games
Removing the author's credit is just plain cynical IMO. The only reason for doing so I can think of is in the hope people will mistakenly believe the person who modified a game was also the original author, whilst being able to fall back on the argument of "Well, I didn't but my name in it's pl...
- Wed Jun 30, 2021 9:29 am
- Forum: Announcements
- Topic: The Spectrum Show EP 106
- Replies: 18
- Views: 774
Re: The Spectrum Show EP 106
Not so straightforward. You're paging a whole 16k in and out, not just the screen. No, the memory at $4000-$7fff is always bank 5, you're simply toggling where the ULA fetches it's data from. Obviously you need to page in bank 7 @ $c000 to write to the shadow screen, but that's no different from pa...
- Wed Jun 30, 2021 9:00 am
- Forum: Announcements
- Topic: The Spectrum Show EP 106
- Replies: 18
- Views: 774
Re: The Spectrum Show EP 106
I didn't quite realise (either) how many enhanced 128k games there were, where they had larger or more detailed playing areas, for example. In my head they were mostly just additional 128k music or reducing the need for multi-loads. Same here. I wonder why this was even possible, at a technical lev...
- Sat Jun 26, 2021 5:53 pm
- Forum: ZX Spectrum Next
- Topic: im not being funny but why did they not develop homebrew games for the sam coupe instead of creating the spectrum next?
- Replies: 36
- Views: 1978
Re: im not being funny but why did they not develop homebrew games for the sam coupe instead of creating the spectrum ne
The Coupe was a nice machine, but had a 6Mhz Z80 (before even taking contention into account) trying to push pixels around a 24K display file (at least it was linear, though!). It really could have done with hardware sprites/scrolling... something which the Next addresses. Nope, the Next doesn't ha...
- Sat Jun 26, 2021 4:59 pm
- Forum: ZX Spectrum Next
- Topic: im not being funny but why did they not develop homebrew games for the sam coupe instead of creating the spectrum next?
- Replies: 36
- Views: 1978
Re: im not being funny but why did they not develop homebrew games for the sam coupe instead of creating the spectrum ne
the sam coupe could have been remade though, right? The Coupe was a nice machine, but had a 6Mhz Z80 (before even taking contention into account) trying to push pixels around a 24K display file (at least it was linear, though!). It really could have done with hardware sprites/scrolling... something...
- Fri Jun 18, 2021 2:51 pm
- Forum: Sinclair Miscellaneous
- Topic: What was the famous quote by Sir Clive about Sugar?
- Replies: 12
- Views: 1208
- Mon Jun 07, 2021 2:07 am
- Forum: Programming
- Topic: Handling and representing a 3-bytes number (in ASSEMBLER)
- Replies: 14
- Views: 622
Re: Handling and representing a 3-bytes number (in ASSEMBLER)
Yup, BCDs are the way to go here IMO. As such, you need 3 x 8-bit registers (5 digits required, 2 digits per register) when calling the addition routine. For example it you wanted to add 43276:- ld c, $04 ; it's important to define these values in hex ld hl, $3276 call add One possible implementatio...
- Wed Jun 02, 2021 3:08 pm
- Forum: Sinclair Miscellaneous
- Topic: Demo for people who love horses
- Replies: 10
- Views: 269
Re: Demo for people who love horses
Where are you going with your fetlocks blowing in the... wind?
- Sat May 22, 2021 9:58 pm
- Forum: FPGA Devices
- Topic: How is the MISTER in regards to the Speccy?
- Replies: 14
- Views: 818
Re: How is the MISTER in regards to the Speccy?
I don't see it clarified, but does it work with all VGA monitors, or is it like the Atari STs which need specialized low Khz ones? I also have a couple of VGA monitors for my retro PCs. Yes, it can scandouble 15Khz RGB and output to VGA monitors - in which case you can simply use a standard VGA cab...
- Sat May 22, 2021 8:50 pm
- Forum: FPGA Devices
- Topic: How is the MISTER in regards to the Speccy?
- Replies: 14
- Views: 818
Re: How is the MISTER in regards to the Speccy?
I have a couple of CRTs I use for retro hardware. Thanks for the link, I'll study it now. If you do decide to get one, one thing I'd recommend against buying is the DIN9 to SCART cable. In my experience, the image quality is far better using a MiSTer VGA to SCART cable (which also works just fine o...