Search found 753 matches
- Sun Oct 22, 2023 6:17 pm
- Forum: ZX Spectrum Next
- Topic: CSpect Next Emulation 22.10
- Replies: 5
- Views: 313
Re: CSpect Next Emulation 22.10
The SD images site is Phoebus’s. The distro is being released by Garry now because it’s mostly driven by NextBASIC changes, and he doesn’t have access to Phoebus’s website. The latest one Phoebus linked works fine in CSpect. The latest distro release is 2.07L so so I don’t think you are doing anythi...
- Sun Oct 22, 2023 4:40 pm
- Forum: Emulators
- Topic: ESPectrum 1.0rc3
- Replies: 14
- Views: 1306
Re: ESPectrum 1.0rc3
Maybe Espressif should be forced to change the name of the ESP32!
- Sun Oct 22, 2023 2:57 am
- Forum: Hardware
- Topic: faulty divmmc please help!
- Replies: 15
- Views: 449
Re: faulty divmmc please help!
No you can’t do that, you need a jtag cable and special PC software. What brand of CPLD does it have?
- Sat Oct 21, 2023 6:11 pm
- Forum: Programming
- Topic: Assembling to different banks
- Replies: 1
- Views: 122
Re: Assembling to different banks
Some assemblers like Sjasmplus and Zeus know about specific computer models, and can assemble into a device memory map specific to that model. So you can can use bank numbers of the correct size in your assembler directives. These directives are not part of assembly language per se, as the language ...
- Wed Oct 18, 2023 2:21 am
- Forum: Sinclair Miscellaneous
- Topic: where is my math teacher ?
- Replies: 10
- Views: 280
Re: where is my math teacher ?
A screen is ((256 / 8) x 192) pixel bytes + (32 x 24) attribute bytes = 6192 bytes total. I’m not sure what you’re trying to do with your numbers.
- Tue Oct 17, 2023 3:47 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 781
Re: fprwards and backwards logic in IF statements (in assembly)
So like a very primitive version of exception handling ;) Yes, structured error handling is a common and great use of the technique. In my esXDOS dot commands errors can happen any time due to external causes (serial timeouts, external hardware misbehaving) and dozens of stack levels deep, so it en...
- Tue Oct 17, 2023 3:37 pm
- Forum: ZX Spectrum Next
- Topic: Are the NEXT's graphics 'authentic?'
- Replies: 61
- Views: 2232
- Tue Oct 17, 2023 12:26 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 781
Re: fprwards and backwards logic in IF statements (in assembly)
I’m all for keeping it simple but stack manipulation and forced stack rebalancing are’t especially advanced techniques. I figured them out independently myself and used them in my very first z80 asm project.
- Tue Oct 17, 2023 12:19 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 781
Re: fprwards and backwards logic in IF statements (in assembly)
I think this has gone way past confusing the OP. He can just do a bunch of simple condition checks chained together as originally suggested,but he seems to want to make it more complicated and use the stack.
- Tue Oct 17, 2023 12:04 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 781
Re: fprwards and backwards logic in IF statements (in assembly)
If you want to call a routine which returns from the calling routine, you can pop and discard the first return address before returning. call FirstRoutine ; SecondRoutine returns here FirstRoutine: call SecondRoutine ; SecondRoutine does NOT return here ret SecondRoutine: ; adjust the stack to retur...
- Tue Oct 17, 2023 12:24 am
- Forum: Emulators
- Topic: Any emulators able to pause on completon of loading?
- Replies: 31
- Views: 914
Re: Any emulators able to pause on completon of loading?
The usual way is to figure out what the entry point address is, abs put a breakpoint there. Snapshots do have a single well-defined entry point, but tape/disk/microdrive programs are not like that. There’s usually a bunch of blocks that are loaded one after the other, often with code running in betw...
- Mon Oct 16, 2023 8:58 pm
- Forum: Programming
- Topic: fprwards and backwards logic in IF statements (in assembly)
- Replies: 54
- Views: 781
Re: fprwards and backwards logic in IF statements (in assembly)
Ralf has put his finger on the way that we do it. You can easily have a mix of OR and AND conditions, too. The condition code just threads through a series of checks, one at a time. You don't need to track the state of where you are at within the condition checking in an additional register, the cur...
- Fri Oct 13, 2023 11:53 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
Ped said it’s unlikely to happen, as injecting multi-line macros as single expression to evaluate it doesn't fit current code architecture at all.
- Fri Oct 13, 2023 11:46 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
I went a bit overboard, and have this in some of my projects: Black equ 0 Blue equ 1 Red equ 2 Magenta equ 3 Green equ 4 Cyan equ 5 Yellow equ 6 White equ 7 BlackP equ 8*Black BlueP equ 8*Blue RedP equ 8*Red MagentaP equ 8*Magenta GreenP equ 8*Green CyanP equ 8*Cyan YellowP equ 8*Yellow WhiteP equ 8...
- Fri Oct 13, 2023 9:57 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
I suppose it's not the end of the world to make all your macros emit a single db or dw in front of the expression. And then just concatenate the macro invocations with colons on one line.
- Fri Oct 13, 2023 9:43 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
Yep you can't. I checked with Ped.ParadigmShifter wrote: ↑Fri Oct 13, 2023 9:38 pm Yeah one of the things I don't like about sjasmplus is that I can't find a way to return an expression from a macro
I have a ton of zeus macros that do exactly that in the middle of db blocks, and I'm having to rewrite them.
- Fri Oct 13, 2023 9:30 pm
- Forum: Games/Software
- Topic: Cybernoid clones?
- Replies: 82
- Views: 11173
Re: Cybernoid clones?
And of course a RIP means Reciprocally Interchanged Parts"...Einar Saukas wrote: ↑Fri Oct 13, 2023 8:42 pm If it makes you feel better, keep in mind that a MOD in ZXDB has nothing to do with modifying. The term M.O.D. means "Multiple Outsourced Datasets"
- Fri Oct 13, 2023 9:29 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
I have an absolute ton of macros like that. I used to be a believer in pseudo-instructions imlemented in the assembler; but I changed my mind, and now I run with strict syntax settings and explicit macros for the fancy stuff. I am weaning myself off zeus for sjasmplus, and I really miss that it had ...
- Fri Oct 13, 2023 8:43 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
If you try to define a string constant with equ it will force it to a very long Int32: I mostly mention this because, if you injudiciously mistype a constant name in a place where it controls the length of assembled code, you can end up with a very long stuck assembly process that's trying to alloc...
- Fri Oct 13, 2023 8:39 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
- Fri Oct 13, 2023 8:33 pm
- Forum: Programming
- Topic: Constants in Z80 Assembler
- Replies: 25
- Views: 387
Re: Constants in Z80 Assembler
Sometimes constants are defined with other directives. For example in sjasmplus (and I assume sjasm is the same), string constants are defined like this, and numeric constants can be too: define MY_STRING_CONSTANT_NAME "FooBar" ; define can't be in first column define MY_NUMERIC_CONSTANT_N...
- Fri Oct 13, 2023 6:46 pm
- Forum: Emulators
- Topic: #Cspect: SpecNext Emulator für Windows, Linux and OSX by Mike Dailly - New Version
- Replies: 53
- Views: 3731
Re: #Cspect: SpecNext Emulator für Windows, Linux and OSX by Mike Dailly - New Version
CSpect Plugins v1.5 is released. These are my plugins, not Mike's (which confusingly have the same github repo name). Added Pi UART support to UARTReplacement plugin. Added support for mapping Pi GPIO pins 4 and 5 to serial DTR and RTS. Fixed UART RX slowdown caused by sleeping 1ms every time the RX...
- Thu Oct 12, 2023 5:35 pm
- Forum: Sinclair Miscellaneous
- Topic: Sinclair TV80
- Replies: 7
- Views: 211
Re: Sinclair TV80
I heard that you could touch the tip of a Speccy RF lead to the aerial, and it would give a passable picture. Obviously not if you’ve done the composite mod.
- Wed Oct 11, 2023 7:56 pm
- Forum: Hardware
- Topic: Noisy audio on +2, but only when RGB is connected
- Replies: 16
- Views: 378
Re: Noisy audio on +2, but only when RGB is connected
I am still wondering, why I am the only one experiencing that (or just noticing that?). I have no crosstalk from my Retro Computer Shack cable (although that is for +3 not +2 grey, and his cables for those two systems have materially different passive components). All video wires are untwisted and ...
- Wed Oct 11, 2023 6:30 pm
- Forum: Hardware
- Topic: faulty divmmc please help!
- Replies: 15
- Views: 449
Re: faulty divmmc please help!
You can try cleaning the expansion bus edge connector, in order of increasing desparation:
- alcohol and cotton swab (mild);
- eraser (fairly mild);
- Brasso (not so mild)