Spectrum ZX

Moderators: odroid, mdrjr

Re: Spectrum ZX

Unread postby crashoverride » Sat Jul 28, 2018 2:34 am

briansm wrote:Does the size need to be a parameter though? It would save trouble if it was just worked out from the size of the binary file, something like:

The constraint is that .fw should not be capable of overwriting the device firmware, bootloader, or partitions (the 3 files that are flashed). The "slot" system was removed to allow complex/large applications (Doom, MicroPython, etc) to be packaged without source code modifications (maintenance). Since some applications rely on specific offsets, the partition size is a necessary parameter. This allows deterministic partition layouts that do not change each time a binary is built (file length changes).

BOOT SET ERROR
1) When the above error is encountered, turn the device off and back on. The application list will be displayed again.
2) Press "Menu".

This error has been corrected, and the fix will be included in the next device firmware update.
crashoverride
 
Posts: 4141
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: Spectrum ZX

Unread postby crashoverride » Sat Jul 28, 2018 5:36 am

The "BOOT SET ERROR" is resolved in the 20180726 device firmware.
crashoverride
 
Posts: 4141
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: Spectrum ZX

Unread postby kamots » Mon Jul 30, 2018 8:58 am

mad_ady wrote:User @Kamots expressed his frustration with springboard and wanted to eventually pursue an alternate menu: https://github.com/theforest/trampoline


I'm not frustrated with Springboard. It is very good and I am impressed with how well it works, but OtherCrashOverride has very specific plans for it and I'd like to see something a little more flexible in the future.
kamots
 
Posts: 21
Joined: Sun Jul 01, 2018 6:05 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: Spectrum ZX

Unread postby jutleys » Mon Jul 30, 2018 6:32 pm

jutleys
 
Posts: 73
Joined: Fri Jul 20, 2018 1:06 am
Location: UK
languages_spoken: english
ODROIDs: Odroid Go
Odroid X4U N64 case

Re: Spectrum ZX

Unread postby lix-alpha » Sun Aug 05, 2018 10:59 am

Is there any way to remap the buttons ?
Because right now most games can't be played.
I tried maybe 50 games without success except Zynaps...
Or is there any Roms repository I should be aware of that offer ZX games playable without a keyboard ?
User avatar
lix-alpha
 
Posts: 72
Joined: Fri Jul 27, 2018 9:41 pm
languages_spoken: english

Re: Spectrum ZX

Unread postby mad_ady » Sun Aug 05, 2018 1:59 pm

You can remap keys by going into Menu -> Keyboard. There are some presets and you can add your own
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Spectrum ZX

Unread postby lix-alpha » Sun Aug 05, 2018 10:35 pm

mad_ady wrote:You can remap keys by going into Menu -> Keyboard. There are some presets and you can add your own


Yeah I saw the Keyboard Menu and the Setup Buttons menu but I meant without a keyboard, to be able to use the directional pad of the Odroid-Go.
User avatar
lix-alpha
 
Posts: 72
Joined: Fri Jul 27, 2018 9:41 pm
languages_spoken: english

Re: Spectrum ZX

Unread postby mad_ady » Sun Aug 05, 2018 10:51 pm

That's where you map what the dpad does (what keys it sends like o/p for left/right, etc)
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Spectrum ZX

Unread postby lix-alpha » Sun Aug 05, 2018 11:00 pm

mad_ady wrote:That's where you map what the dpad does (what keys it sends like o/p for left/right, etc)


Ok Ill try playing with the setup a bit. Thanks
User avatar
lix-alpha
 
Posts: 72
Joined: Fri Jul 27, 2018 9:41 pm
languages_spoken: english

Re: Spectrum ZX

Unread postby davidknight247 » Tue Aug 14, 2018 4:23 pm

A minor update to fix a few menu bugs. The file size has also been shrunk.

https://bitbucket.org/DavidKnight247/od ... downloads/
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: Spectrum ZX

Unread postby JasonB32 » Wed Aug 15, 2018 1:07 pm

@davidknight247 , Is another update coming because it seems you made a commit after this bug in regards to the onscreen keyboard?

Great work btw thank you!
JasonB32
 
Posts: 41
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: Spectrum ZX

Unread postby davidknight247 » Wed Aug 15, 2018 2:46 pm

JasonB32 wrote:@davidknight247 , Is another update coming because it seems you made a commit after this bug in regards to the onscreen keyboard?


The only changes I made were to the menu code. I am yet to review the rest of Briansm’s code.

JasonB32 wrote:Great work btw thank you!

I have only contributed audio and menu code to this project. Full credit should go to briansm for a fantastic effort.
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: Spectrum ZX

Unread postby JasonB32 » Thu Aug 16, 2018 2:21 am

Oh well great work to both of you @briansm and @davidknight247, I really appreciate it.
JasonB32
 
Posts: 41
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: Spectrum ZX

Unread postby davidknight247 » Mon Aug 20, 2018 7:04 am

Another update:

    Turbo mode - for Freescape and football sim games (sound will be muted)
    Enabled esp32 power management
    Changed icon
    Use second core for video
    Fix onscreen keyboard

https://bitbucket.org/DavidKnight247/od ... downloads/

NOTE: Whilst testing I have occasionally noticed you get a blank screen immediately after installing a new version. Restarting the system seems to fix this bug for now.
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: Spectrum ZX

Unread postby mad_ady » Mon Aug 20, 2018 2:25 pm

Thanks for the update. Can you point out what the power management code does (and how it looks like)?
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Spectrum ZX

Unread postby davidknight247 » Mon Aug 20, 2018 3:06 pm

Power management is a setting in the sdkconfig file in the root directory. Peripheral drivers can set the cpu frequency to 160MHz and apb to 80MHz. However I2S is not supported yet so my understanding is that it may not be having much effect yet.

Docs are here
https://esp-idf.readthedocs.io/en/lates ... ement.html
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: Spectrum ZX

Unread postby mad_ady » Mon Aug 20, 2018 4:49 pm

Sounds interesting, thanks. I was thinking of adding Pause support for Doom and I could turn off screen + set a low power mode to conserve battery.
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Spectrum ZX

Unread postby aukondk » Mon Aug 20, 2018 8:16 pm

Great stuff! It's this emulator that finally sold me on getting the Go.

What is the feasibility of having support for the later Spectrum machines? I'm specifically thinking of the 128k onwards that had an AY sound chip. I love playing Fast Food on this but I'm having to hum the music :D
aukondk
 
Posts: 5
Joined: Mon Aug 20, 2018 8:08 pm
Location: Osijek, Croatia
languages_spoken: english
ODROIDs: ODROID GO

Re: Spectrum ZX

Unread postby davidknight247 » Mon Aug 20, 2018 8:21 pm

128k is definitely something I would like to tackle but we are memory constrained. Judging by the speed increase in turbo mode it looks like the cpu can cope so it’s a definite maybe!
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: Spectrum ZX

Unread postby kamots » Fri Aug 24, 2018 2:31 am

mad_ady wrote:Sounds interesting, thanks. I was thinking of adding Pause support for Doom and I could turn off screen + set a low power mode to conserve battery.


This is sleep mode. It is already in the Go Play firmware but will be eventually removed. You can rip it out of there :)
kamots
 
Posts: 21
Joined: Sun Jul 01, 2018 6:05 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: Spectrum ZX

Unread postby IrregularShed » Wed Aug 29, 2018 6:46 pm

I registered on this forum purely because of this emulator. Excellent work, dev chaps!

I have a very small wish-list, but as my C coding abilities are far behind my other language choices I'll just put these out there:
  • reset Spectrum option
  • per-game keyboard mapping (so that I can play the likes of Skooldaze without losing the customisation)
  • Kempston joystick option
  • sticky shift keys on the pop-up keyboard (I couldn't 'delete', nor type a quote)

Playing Jet Pac on the Odroid-Go was wonderful!
IrregularShed
 
Posts: 1
Joined: Wed Aug 29, 2018 6:30 pm
languages_spoken: english
ODROIDs: Odroid Go

Re: Spectrum ZX

Unread postby briansm » Thu Aug 30, 2018 4:53 am

The shift keys are fixed-mapped to the select and start buttons, e.g. 'select' and '0' does a delete, 'start' and 'p' gives souble-quotes.

it's a bit fiddly but faster than making sticky shift buttons and it was easier to code.

I'll try and do per-game button maps (as extra file) and alphabetic shorting and filtering of the directory listings too.
briansm
 
Posts: 43
Joined: Wed Jun 27, 2018 3:35 am
languages_spoken: english
ODROIDs: Ordoid GO, Ordoid-W

Re: Spectrum ZX

Unread postby padnoter » Sat Sep 22, 2018 11:31 pm

this is brilliant, many many thanks brian & david.

it's the reason i bought my odroid-go, esp. after i was one of the unlucky vega+ backers (what a farce that turned out to be).

not sure if you are still developing/enhancing, but if you are, my wish list would be;

1) to be able to store key mappings per game, as a text file (that could be quickly created & copied to sd card)
2) to have the whole thing integrated into the Go-play firmware, to make easy switching between them

but it really is an excellent job,

thanks again guys - much appreciated.
padnoter
 
Posts: 6
Joined: Sat Sep 22, 2018 11:23 pm
languages_spoken: english
ODROIDs: odroid go

Re: Spectrum ZX

Unread postby Niknice » Sun Sep 23, 2018 9:24 am

I’m having a fantastic time with this wonderful emulator, and was wondering whether it would be possible to increase the screen size to make the gameplay area bigger and lose the loading borders?
Niknice
 
Posts: 5
Joined: Sun Sep 23, 2018 9:18 am
languages_spoken: english
ODROIDs: Odroid Go

Re: Spectrum ZX

Unread postby Praia » Sun Oct 14, 2018 5:46 pm

Hi,

Thanks fro this great implementation, works very awesome!

Would be nice if you could add key mappings per game, for example with filename identical to rom name, but other file extension. Then you could backup the key mappings, or prepare the key mappings outside of the Odroid

At the moment, I have to remap the keyboard almost each time when switching games
Praia
 
Posts: 1
Joined: Sun Oct 14, 2018 5:39 pm
languages_spoken: english
ODROIDs: go

Re: Spectrum ZX

Unread postby kamots » Tue Oct 23, 2018 2:35 pm

Hey @briansm - check out the new keyboard, may be handy for your emulator. :)
kamots
 
Posts: 21
Joined: Sun Jul 01, 2018 6:05 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: Spectrum ZX

Unread postby Fratzengeballer » Mon Nov 05, 2018 2:38 am

I like it a lot! Therefore I bought the GO! Thanks!
Will you add 128k support?
Fratzengeballer
 
Posts: 3
Joined: Mon Nov 05, 2018 2:07 am
languages_spoken: german, english
ODROIDs: GO

Re: Spectrum ZX

Unread postby davidknight247 » Mon Nov 19, 2018 12:44 am

Niknice wrote:I’m having a fantastic time with this wonderful emulator, and was wondering whether it would be possible to increase the screen size to make the gameplay area bigger and lose the loading borders?


Apologies for my absence - I'm back to studying for my degree and trying to fit in a full time job so don't have much/any free time right now!

I'd like to implement this as well - I'll test it when I have time, unless somebody else wishes to have a bash at this?
davidknight247
 
Posts: 30
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

QWERTY Keyboard and Spectrum ZX

Unread postby Speccifan » Fri Dec 07, 2018 1:31 am

I have the new QWERTY keybord, but it is not supported by the emulator.
Do you plan to support the keyboard?
Is it possible to write BASIC programs and to store and reload them?
I can only load these snapshots, How to work wit the Spectrum OS and Basic?

Regards,
Peter
Speccifan
 
Posts: 1
Joined: Fri Dec 07, 2018 1:23 am
languages_spoken: english

Previous

Return to Game Emulators

Who is online

Users browsing this forum: No registered users and 4 guests