New release of EightyOne available

Emulator and emulator development specific topics
MunichSpec
Posts: 2
Joined: Sun Oct 08, 2017 10:21 am

Re: New release of EightyOne available

Post by MunichSpec » Sun Oct 08, 2017 10:52 am

Here is the PC tool:
mdv2img.exe.zip
(62.8 KiB) Downloaded 14 times
and this is the (repaired) Microdrive cartridge image it produces:
CARTRIDG.repaired.MDR.zip
(9.77 KiB) Downloaded 16 times
. This essentially proves, that everything works in Gerton's WinZ80.

However, things are quite different in EightyOne. When I mount the original CARTRIDG.orig.MDR, connect the IF1's RS232 port to a file (say if1_out.txt) and run mdv2img.tap, lots of checksum errors are reported. The configuration is like this:
EightyOne.Configuration.png
EightyOne.Configuration.png (30.99 KiB) Viewed 446 times
and the result looks like this:
EightyOne.Result.png
EightyOne.Result.png (27.76 KiB) Viewed 446 times
The resulting dump (
if1_out.txt
(19.09 KiB) Downloaded 10 times
) is just 19'548 bytes long and it's pretty clear that the complete cartridge can not be successfully recovered from it.

I'm a bit out of luck here and just guess that EightyOne probably doesn't emulate low level Microdrive access from machine code very well. There are a lot of INIR commands involved (as you can see in mdv2img.z8a, starting from label GET_M_HD) and this might be the tricky part.

I don't know if you are that much into Z80 machine code and IF-1 interna - but if you have the time and interest to investigate this issue, it would be my pleasure to help wherever necessary.

Thank you very much!

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: New release of EightyOne available

Post by sirmorris » Wed Oct 11, 2017 12:00 pm

marste wrote:
Mon Sep 25, 2017 5:32 pm
Regarding symbol instead I don’t understand how to load the .sym file: I have all files .p or .o with the corresponding .sym file and in No$Zx the symbols are loaded and displayed automatically, but is not the case of EightyOne… How to load the .sym file or maybe is a matter of format? (I attached an example of what is loaded in No$Zx)
_Stefano
In order to use the existing symbol store you would drag-and-drop the symbol file onto EO during use. I know this is ugly and inconvenient. Also the symbol file format was of my own design and it turns out incompatible with most assemblers/debuggers out there ;) As it stands you need to specify symbols like:

Code: Select all

SYMBOL ADDRESS
SYMBOL ADDRESS
...
Where address is 4 hex digits.

You can type a symbol name in any input box that accepts addresses. The symbol browser button on the debug window pops open a list of available symbols. Right-clicking a symbol gives options to look at memory or add breakpoints at the appropriate address.

I'm in the process of adding the feature you requested where loading a P file will also load a symbol file if one is present. So far I've only added the feature to the ZXpand file system emulation because I know this well and it seems a good place to start. I should also be able to do something with the drag-and-drop file load feature, and perhaps TZX in the far future but I generally avoid TZX because it's ugly and largely irrelevant for the '80 and '81.

I'll also eventually migrate the symbol format to that of NO$, as this is what is exported from a number of assemblers.

Code: Select all

PAGE:ADDRESS SYMBOL
PAGE:ADDRESS SYMBOL
where page and address are both 4 hex digits.
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: New release of EightyOne available

Post by sirmorris » Wed Oct 11, 2017 12:06 pm

MunichSpec wrote:
Sun Oct 08, 2017 10:52 am
I don't know if you are that much into Z80 machine code and IF-1 interna - but if you have the time and interest to investigate this issue, it would be my pleasure to help wherever necessary.
Hi there.

I've been known to do a little Z80 from time to time. I don't do Spectrum however. I'll have a little look and if there's anything obvious then I'll see what I can do, but to be honest my gut tells me that this looks like it would be an absolute stinker.

C
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: New release of EightyOne available

Post by sirmorris » Mon Nov 06, 2017 1:17 pm

EightyOne V1.8 available now!

Updates symbol support for the debugger - read the release notes.

C
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
Andy Rea
Posts: 1268
Joined: Fri May 09, 2008 1:48 pm
Location: notts UK

Re: New release of EightyOne available

Post by Andy Rea » Wed Nov 08, 2017 9:04 am

well well what can i say.... are you planning a party for V2.0 :lol: :lol: :lol: :lol:

Thanks to SirMorris and Paul for their continued work

Regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: New release of EightyOne available

Post by sirmorris » Wed Nov 08, 2017 9:22 am

I'm thinking of profiling tools. Perhaps some kind of 'logic analyser' display, that shows system events like Vsync, video frame time, things like that. Plus some way of letting the current program indicate events, perhaps by monitoring a memory address, that will show on a display something like this:
Capture.PNG
Capture.PNG (24.84 KiB) Viewed 269 times
(this is from a logic analyser - I haven't implemented anything yet)
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
Paul
Posts: 880
Joined: Thu May 27, 2010 7:15 am
Location: Germanys west end

Re: New release of EightyOne available

Post by Paul » Sun Nov 12, 2017 9:16 am

I downloaded Eightyone 1.8 which runs good.
Just a short question:
Is it possible on a real ZXPAND+ to disable WRX? Or the ZonX?
Your guess is right. I had ZXPAND on in Eightyone and forgot to also check these boxes. So Commander was giving ugly screens when displaying a BMP.
Could you please enable WRX (and possibly also ZONX) them when ZXPand(+) is switched on?
Just because I forget to do so :oops:

Kind regards
Paul
In theory, there is no difference between theory and practice. But, in practice, there is.

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: New release of EightyOne available

Post by sirmorris » Sun Nov 12, 2017 1:06 pm

This is a good idea Paul. I have thought of it before but didn't implement it. I shall see if there was a reason why..! ;)
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
Andy Rea
Posts: 1268
Joined: Fri May 09, 2008 1:48 pm
Location: notts UK

Re: New release of EightyOne available

Post by Andy Rea » Sun Nov 12, 2017 1:14 pm

As default settings when you check the zxpand box yes... but must retain the ability to change the settings... for example original zxpand with no sound chip, UDG board over-riding wrx.

Regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
Paul
Posts: 880
Joined: Thu May 27, 2010 7:15 am
Location: Germanys west end

Re: New release of EightyOne available

Post by Paul » Sun Nov 12, 2017 3:20 pm

Andy Rea wrote:
Sun Nov 12, 2017 1:14 pm
As default settings when you check the zxpand box yes... but must retain the ability to change the settings... for example original zxpand with no sound chip, UDG board over-riding wrx.

Regards Andy
Indeed. There is no reason to disable the checkboxes in case ZXPand is on. Its just a default setting when switching ZXPand on. Thats all.
There is also no reason to deactivate them when deactiviating ZXPand.
Its only for stupid users like me :oops: who, after activating ZXPand, expect EO to behave as if it would really be plugged in
Kind regards
Paul
In theory, there is no difference between theory and practice. But, in practice, there is.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest