A couple of questions on the Sharp MZ core
A couple of questions on the Sharp MZ core
I am using the Sharp MZ core (dated 21.07.09) in the Sharp MZ-80K configuration, using the SP-1002 monitor ROM and BASIC SP-5025 from a .mzf file.
1. I cannot find the cursor keys. I found the SML/CAP key (Backspace), the INS/DEL key (Caps Lock), the CLR/HOME key (Tab) and the BREAK key (the key above Tab, left of 1), but no trace of the cursor keys.
2. If I save a BASIC program, it replies with "WRITING filename" and "READY" without error message, but I cannot find the .mzf file anywhere.
Any help would be appreciated.
1. I cannot find the cursor keys. I found the SML/CAP key (Backspace), the INS/DEL key (Caps Lock), the CLR/HOME key (Tab) and the BREAK key (the key above Tab, left of 1), but no trace of the cursor keys.
2. If I save a BASIC program, it replies with "WRITING filename" and "READY" without error message, but I cannot find the .mzf file anywhere.
Any help would be appreciated.
-
- Core Developer
- Posts: 300
- Joined: Sun May 24, 2020 6:55 pm
- Has thanked: 5 times
- Been thanked: 154 times
Re: A couple of questions on the Sharp MZ core
The writing might be broken in the MiSTer binary. Interesting, send me a list of Sharp MZ basic commands and I will see if I can reproduce it.OldBoar wrote: ↑Mon Jul 26, 2021 6:58 pm I am using the Sharp MZ core (dated 21.07.09) in the Sharp MZ-80K configuration, using the SP-1002 monitor ROM and BASIC SP-5025 from a .mzf file.
1. I cannot find the cursor keys. I found the SML/CAP key (Backspace), the INS/DEL key (Caps Lock), the CLR/HOME key (Tab) and the BREAK key (the key above Tab, left of 1), but no trace of the cursor keys.
2. If I save a BASIC program, it replies with "WRITING filename" and "READY" without error message, but I cannot find the .mzf file anywhere.
Any help would be appreciated.
Re: A couple of questions on the Sharp MZ core
1) This is just a keyboard problem, I just cannot find the cursor keys. I did find all the other keys.
2) I wrote a short BASIC program, and tried to save it:
10 PRINT "TEST"
RUN
TEST
READY
SAVE "TEST"
WRITING TEST
READY
Thanks for looking into this.
-
- Core Developer
- Posts: 300
- Joined: Sun May 24, 2020 6:55 pm
- Has thanked: 5 times
- Been thanked: 154 times
Re: A couple of questions on the Sharp MZ core
The keymap seems to be in a ROM file as binary unfortunately. That will make it a bit harder to fix. We should probably make a more mister-like keymap where we have a switch with the ps2 codes and then map them into the Sharp MZ matrix. I think it makes sense to just map quote to quote, instead of shift-2 like the original. Some of the cores have an option to switch between them.
How do i get into Basic? I tried running these commands and I couldn't get it to print "test". Also, In the author's docs it save is crossed out. I am not sure why it doesn't work. A lot of code seems to be in the FPGA side and the MiSTer binary. I turned debug on in the mister binary to see if it is trying to write anything, but I don't know how to get into basic.
Thanks!
-
- Core Developer
- Posts: 300
- Joined: Sun May 24, 2020 6:55 pm
- Has thanked: 5 times
- Been thanked: 154 times
Re: A couple of questions on the Sharp MZ core
I think -/_ is one of the arrows (up).
How do I load the tape in basic to see if it works? I think I know why the file isn't writing, but I would like to see if this file is correct.
How do I load the tape in basic to see if it works? I think I know why the file isn't writing, but I would like to see if this file is correct.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: A couple of questions on the Sharp MZ core
You have to find a MZ-700 archives which contains Games, Applications, Firmware. One application is BASIC Interpreter 1Z-013B v1.0 (1983)(Sharp Corp).mzf which you load with the fast tape load and execute by jumping at the address provided by the tape loader.
-
- Core Developer
- Posts: 300
- Joined: Sun May 24, 2020 6:55 pm
- Has thanked: 5 times
- Been thanked: 154 times
Re: A couple of questions on the Sharp MZ core
This saved from basic for me and dumps it in the top level of the sharpmz game folder.
Re: A couple of questions on the Sharp MZ core
Thanks!
I downloaded and installed your archive but it did not change anything, I still cannot find the file (searched using both F12 and F9).
I guess I am doing something wrong. I was a bit surprised you posted a new MiSTer file, I had expected a SharpMZ.rbf file.
No, that just gives me a - sign.
This is what I use:
Machine: MZ80K
Monitor SP-1002 ROM: https://www.sharpmz.no/dl/download.php?file=80KMONI.zip
European version of the character ROM: https://www.sharpmz.no/dl/download.php?file=80KCG.zip
BASIC SP-5025 tape: https://www.sharpmz.no/dl/download.php?file=sp-5025.zip
Loading BASIC from tape:
** MONITOR SP-1002 **
*LOAD (Queue .mzf file using F12 menu.)
LOADING BASIC SP-5025
* SHARP BASIC SP-5025
34680 BYTES
READY
Loading tape in BASIC:
LOAD
or
LOAD "filename"
-
- Core Developer
- Posts: 300
- Joined: Sun May 24, 2020 6:55 pm
- Has thanked: 5 times
- Been thanked: 154 times
Re: A couple of questions on the Sharp MZ core
I have:OldBoar wrote: ↑Thu Jul 29, 2021 12:22 amThanks!
I downloaded and installed your archive but it did not change anything, I still cannot find the file (searched using both F12 and F9).
I guess I am doing something wrong. I was a bit surprised you posted a new MiSTer file, I had expected a SharpMZ.rbf file.
No, that just gives me a - sign.
This is what I use:
Machine: MZ80K
Monitor SP-1002 ROM: https://www.sharpmz.no/dl/download.php?file=80KMONI.zip
European version of the character ROM: https://www.sharpmz.no/dl/download.php?file=80KCG.zip
BASIC SP-5025 tape: https://www.sharpmz.no/dl/download.php?file=sp-5025.zip
Loading BASIC from tape:
** MONITOR SP-1002 **
*LOAD (Queue .mzf file using F12 menu.)
LOADING BASIC SP-5025
* SHARP BASIC SP-5025
34680 BYTES
READY
Loading tape in BASIC:
LOAD
or
LOAD "filename"
/media/fat/games/sharpmz/
I loaded basic from a folder in the sharpmz
wrote a basic program, and saved it:
SAVE "ALAN"
and it put ALAN.mz into /media/fat/games/sharpmz/
Re: A couple of questions on the Sharp MZ core
Thank you, I got saving to work using your file.
This is truly awesome.
Since the MZ series has such peculiar keyboards, having options would certainly be nice.alanswx wrote: ↑Wed Jul 28, 2021 3:12 pm The keymap seems to be in a ROM file as binary unfortunately. That will make it a bit harder to fix. We should probably make a more mister-like keymap where we have a switch with the ps2 codes and then map them into the Sharp MZ matrix. I think it makes sense to just map quote to quote, instead of shift-2 like the original. Some of the cores have an option to switch between them.