Search found 233 matches

by XoRRoX
Mon Apr 17, 2023 4:38 pm
Forum: Emulators
Topic: Dream emulator features
Replies: 28
Views: 1350

Re: Dream emulator features

BasinC and Spin both have the option to paste text into the emulator. The Zero emulator has a Basic Importer tool zxplay.org lets you copy in Basic or assembly code and then run it. I think if you setup a login you can save progress to the site, not sure if you can save a TAP back to your PC though...
by XoRRoX
Mon Apr 17, 2023 4:35 pm
Forum: Emulators
Topic: New release of SpecEmu
Replies: 218
Views: 45597

Re: New release of SpecEmu

Is anyone having success with using a controller? Does SpecEmu only support d-input (I'm seeing dinput8.dll in its folder) or also x-input?
It doesn't seem to do anything with my xbox one s x-input controller. It is working in windows games and InkSpector.
by XoRRoX
Sat Apr 15, 2023 1:18 pm
Forum: Games/Software
Topic: How hard would it be to fix Forgotten Worlds?
Replies: 39
Views: 1484

Re: How hard would it be to fix Forgotten Worlds?

(Can anyone hack those pokes into the actual TZX, though? It's a pain having to apply the pokes manually every time and saving 128K multiload snapshots is a bit problematic :( ) (I tried editing the 40K block in ZX-Blockeditor, but it caused an error on loading.) Are you emulating or using real har...
by XoRRoX
Fri Apr 14, 2023 1:58 pm
Forum: Emulators
Topic: Inkspector 2.0.5 available
Replies: 33
Views: 1558

Re: Inkspector 2.0.5 available

Inky wrote: Fri Apr 14, 2023 12:27 pm It brings all of the Inkspector windows to the top. It's useful when you have a lot of windows open and they're covered by non-Inkspector windows.
Could this be made a toggle? When debugging and such, I keep having to raise them after having switched to another application.
by XoRRoX
Fri Apr 14, 2023 7:14 am
Forum: Music
Topic: Is there a list of games containing sound samples?
Replies: 77
Views: 2183

Re: Is there a list of games containing sound samples?

Einar Saukas wrote: Thu Apr 13, 2023 11:10 pm Please let me know if you notice anything wrong or missing:

Software Speech
Currah Microspeech Support
Fuller Orator Speech Support
Thanks! :)

I didn't do a full check, but at least Nodes of Yesod is missing in the Software Speech one.
by XoRRoX
Fri Apr 14, 2023 5:54 am
Forum: Emulators
Topic: Inkspector 2.0.5 available
Replies: 33
Views: 1558

Re: Inkspector 2.0.5 available

Thanks, Inky :)

My XBOX-S controller wasn't working in 2.0.4 but I thought it might be something with my config that I didn't take the time to investigate yet, but it works now :D
by XoRRoX
Mon Mar 27, 2023 11:04 am
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

AndyC wrote: Mon Mar 27, 2023 10:02 am You would be, but you forgot to update your readKey routine to use IN A,(C) rather than IN A,($FE)
Ah, right - good catch. :D I did mean to use that, as I've used bc, but in my hurry didn't :oops:

I also noted your advice regarding self-contained routines. Usually, I try to. Thank you.
by XoRRoX
Mon Mar 27, 2023 7:19 am
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

I'm sorry if I'm not completely understanding yet things that are very clear to you. I really appreciate your (and the others') persistence in sharing your knowledge and insights. Once again, a port address is a 16-bit (two-byte) value. An instruction like IN A,(nn) actually reads a byte from the po...
by XoRRoX
Sun Mar 26, 2023 10:31 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

It works something along these lines . Right.. That works because it testes all rows, and thus also explicitly row $ef. I could do that. Or something like? waitLp: ld bc,$00fe call readKeyRow ret nz ld b,$ef call readKeyRow ret nz jr waitLp readKeyRow: in a,($fe) cpl and $1f ret
by XoRRoX
Sun Mar 26, 2023 10:10 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Seven.FFF wrote: Sun Mar 26, 2023 9:00 pm I thought the black plug was for Atari wiring and the grey plug for SJS-1 wiring - matching the grey colour of the SjS-1 and +2?
I asked again, and they were mixed up. The black plug is for Kempston and grey for Sinclair.
So he used the grey plug for the tests.
by XoRRoX
Sun Mar 26, 2023 9:56 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Ast A. Moore wrote: Sun Mar 26, 2023 6:53 pmOff the top of my head, I’d say the +2 actually expects inputs from ports $effe and $f7fe to register a joystick action.
So how is the keyboard scanning routine in BASIC working? As there the joysticks do produce the expected keypresses 6 7 8 9 0.
by XoRRoX
Sun Mar 26, 2023 8:52 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

See if your routine works when on your friend’s +2 when he presses the number keys on the keyboard, rather than wiggles the joystick. Yes, it does. On my +2B I'm using a Competition Pro and tested with both the Atari-SJS converter from ByteDelight and also with an Atari-SJS converter cable I made m...
by XoRRoX
Sun Mar 26, 2023 5:32 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

The code is as in the 1st post: waitKey: xor a in a,(254) cpl ; as bits are high by default, invert all bits and 31 ; 00011111 Mask off top 3 bits, as only interested in rest jr z,waitKey And waitKey: xor a ; 0 in a,(#fe) ; no key ; 10111111 191 or #e0 ; 11100000 224 ; no key ; 11111111 255 inc a ; ...
by XoRRoX
Sun Mar 26, 2023 3:59 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Thank you.

Any ideas regarding why the joystick isn't fully registering as a key press?
by XoRRoX
Sun Mar 26, 2023 12:48 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Can’t think of anything off the top of my head—especially, without looking at the actual code—but it’s easier (and, often, faster) to check joystick states bit by bit. And, with a bit of clever bit checking, you can implement checking for both Sinclair joysticks in the same routine. In the routines...
by XoRRoX
Sun Mar 26, 2023 12:43 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Hold up, you do know that when reading from a port with IN A,(nn), the A register actually must hold the upper byte of the port address, right? Not just zero as is the case of all of the examples you gave, Right? Well, I didn't realise that yet with the in a,(n) method but it does makes sense, as f...
by XoRRoX
Sat Mar 25, 2023 4:10 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Thank you for your responses. Another matter that I'm running into, which I thought about posting in a separate thread but can try here. I know that the SJS ports trigger the keyboard port and port 1 generates 6 7 8 9 and 0 and port 2 generates 1 2 3 4 5. But, when using the 1st two examples, on my ...
by XoRRoX
Sat Mar 25, 2023 2:35 pm
Forum: Programming
Topic: pt3 player asm code
Replies: 6
Views: 350

Re: pt3 player asm code

Bedazzle wrote: Sat Mar 25, 2023 10:30 am Do not remember, where I got these. Possibly, from russian diskmags.
Anyway, here are file from my testdir: https://filetransfer.io/data-package/RnNIXH8c#link
Thank you :)
by XoRRoX
Sat Mar 25, 2023 1:16 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

AndyC wrote: Sat Mar 25, 2023 11:49 am Because the top three bits return different values on different issues of early spectrums. So if you don't strip them off, on some machines your keyboard routines straight up don't work.
Do you know what early issues? Should it return 191 with all 128k models?
by XoRRoX
Sat Mar 25, 2023 1:15 pm
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Re: Any Key in assembly

Bit 6 of that port is also the ear port, see https://worldofspectrum.net/faq/reference/48kreference.htm#Hardware for more. Yes, I've read about Ear & Mic, and of course the border, but after something like ld a,%01000000 out (254),a The value read from the port, isn't changing and still reads 1...
by XoRRoX
Sat Mar 25, 2023 10:58 am
Forum: Programming
Topic: Any Key in assembly
Replies: 35
Views: 989

Any Key in assembly

In my journeys learning assembly for the Speccy, most times I've used "wait for any key" code I saw in examples. This one: waitKey: xor a in a,(254) cpl ; as bits are high by default, invert all bits and 31 ; 00011111 Mask off top 3 bits, as only interested in rest jr z,waitKey And I've se...
by XoRRoX
Mon Mar 20, 2023 4:41 pm
Forum: Programming
Topic: pt3 player asm code
Replies: 6
Views: 350

Re: pt3 player asm code

jorgegv wrote: Mon Mar 20, 2023 11:44 am MMM maybe the PTxTools download from here? https://bulba.untergrund.net/progr_e.htm

It says It includes PTx player ..
Thanks. That's the version 7 I already use.
by XoRRoX
Sun Mar 19, 2023 7:40 pm
Forum: Programming
Topic: pt3 player asm code
Replies: 6
Views: 350

Re: pt3 player asm code

Thanks for replying.

Where could these be found?
by XoRRoX
Fri Mar 17, 2023 9:00 pm
Forum: Programming
Topic: pt3 player asm code
Replies: 6
Views: 350

pt3 player asm code

For my projects, I've been using pt3player.asm version 7 from Sergei Bulba's website. Is there perhaps a more recent version available somewhere? Perhaps faster? I saw that v7 anticipates also older pt3 files, which I don't really need. Are there versions of the player code that are specific for the...
by XoRRoX
Fri Mar 10, 2023 4:27 pm
Forum: Emulators
Topic: ULAPlus??
Replies: 3
Views: 187

Re: ULAPlus??

As far as I know, it was being worked on but not merged into an actual release. You're much better off with one of the other emulators that support ULAplus. For more info on emulators with ULAplus and other info, you could join the official ULAplus Facebook group here: https://www.facebook.com/group...