Page 2 of 3

Re: MZ-80B software

Posted: Thu Apr 29, 2021 12:56 pm
by arnuphis
alo2004 wrote: Tue Apr 27, 2021 2:34 pm ..
I already have made an interface card with a teensyduino 4.1 to allow access to usb, sd card, flash memory. It's already communicating
properly, but i need some more documentation and tools to reverse engineer the way the disc is accessed. I already made the emulation of the
floppy disc controller chip, but without a copy of the assembler, disassembler, linker, and other tools, it's difficult to debug and progress.
But generally, i search any software that could run on it...
The card i am designing will also fit normally 800, and 2000 models
Can you provide more info on this? I need an interface for my 80b as it never came with one. Thanks in advance.

And thanks to everyone else for all your clarifying information.

Re: MZ-80B software

Posted: Mon May 03, 2021 11:24 pm
by arnuphis
Never mind. Due to extreme good luck I managed top get my hands on a floppy i/o card. Now I just need to make up the cable and attach it to a HxC controller.

Re: MZ-80B software

Posted: Thu May 06, 2021 12:15 pm
by psmart
I sent you a PM over 2 weeks ago but for some reason never left my outbox, so copying it below:

If you need the MZ-80B IPL source, it is stored here https://github.com/pdsmart/tranZPUter/b ... 0B_IPL.asm

----------------
All the files listed below are on well known websites such as original.sharpmz.org which Ive just collated for my machine, I can make a tarball up for you if they are of use.

The DAT files have no MZF header so you would need to place a 128 byte header at the beginning before writing to a tape, ie something like this:

0 01 43 50 4d 32 32 33 52 46 53 0d 0d 0d 0d 0d 0d 0d 0d 00 1c 00 a0 00 b6 06 10 3a f8 ef 10 fb 3e .CPM223RFS................:....>
20 07 32 ff ef 3a 0c e0 3e 02 32 fd ef c3 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .2..:..>.2......................
40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
80
Details of the header are here: https://www.sharpmz.no/articles/the-mz- ... structure/

The MZT files already have a header so just need to be written to a tape, again look at the original.sharpmz.org website as they have tools for making tapes from data files.

The MTI files are in a wave format ready for writing to cassette, so probably the tools at original.sharpmz.org can handle them.

The DSK files are disk images for use with a floppy emulator or written to a real floppy disk.

I havent played much with my MZ-80B, too busy with my other machines but eventually will get around to it.

The files I have are:

SA-6510.DSK
MZ80A_basic.DSK
DSK1.DSK
MZ80BGAMES.DSK

./MZT:
SB-5520.mzt
Vosque MZ80B.mzt

./MTI:
Xetter (19xx)(Mushakun).mzt
Catch Boy (19xx)(Yoshikazu Ishizu).DAT
Insect Catch.TXT
SPRING MONSTER(80B)(M).mti
Tenten (19xx)(Yoshikazu Ishizu).DAT
Xetter 2 (19xx)(Mushakun).mzt
GALAXIAN(80B)(M).mti
WALK WAN(80B)(B).mti
Insect Catch (19xx)(Yoshikazu Ishizu).DAT
Puck & Puck.txt
DONKEY CLIMER(80B)(B&M).mti
SPACE INVADER(80B)(M).mti
Cosmo Odyssey (19xx)(Yoshikazu Ishizu).DAT
Puck & Puck (19xx)(Mushakun).mzt
��?�??��?�??�?��??(80B)(M).mti .

Re: MZ-80B software

Posted: Sat May 08, 2021 7:43 pm
by arnuphis
quick question: how do you convert mti files to wav for recording onto tape?

Re: MZ-80B software

Posted: Sat May 08, 2021 9:09 pm
by psmart
tbh I'm not sure, never got that far, I always assumed I'd reference original.sharpmz.org when needed, ie. Download->Common Utilities->File Transfer. There is a tool there which converts MZF/M12 (no idea why so many formats) to physical tape. Probably best to scan this forum or wait for a more knowledgeable person on the subject.

This is the header of one of the files:
0 52 49 46 46 83 70 1b 00 57 41 56 45 66 6d 74 20 10 00 00 00 01 00 01 00 22 56 00 00 22 56 00 00 01 00 08 RIFF.p..WAVEfmt ........"V.."V.....
23 00 64 61 74 61 63 70 1b 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 .datacp............................

Re: MZ-80B software

Posted: Sun May 09, 2021 3:28 pm
by hlide
That header dumping sounds like a WAV format.

Re: MZ-80B software

Posted: Tue May 25, 2021 5:14 pm
by alo2004
Hi all,
Thanks you for all your remarks and informations, it already gave me some more information.
psmart, is there a way you could send me a copy of your software ?

Still searching also for assembler/linker for mz80b, but in some weeks, i probably will have a very, very, very rare card for the mz80b, it is a colour card!

Re: MZ-80B software

Posted: Wed May 26, 2021 10:17 pm
by psmart
Hi alo2004,

I can create you a zip file and PM you a link tomorrow. If you have the floppy disk interface, then the disk pack on original.sharpmz.org -> Download -> MZ80B->Operating Systems - at the bottom of the screen is very useful. Once you have CP/M running you immediately have all the assemblers/linkers, & pascal/PLI/C etc compilers.

Re: MZ-80B software

Posted: Sat May 29, 2021 12:48 pm
by alo2004
Thanks, should be great if you can end me that, by the way, i don't have the floppy disk interface (it is originaly the reason why i began to work on an interface with a teensy 4.1 to get floppy disk emulated with a sd card at the back.

P.S. you can find in attachment a first version of my teensy interface (working one...)

Have a nice day

Re: MZ-80B software

Posted: Sun May 30, 2021 10:08 am
by psmart
Link sent.

I like the teensy devices, pjrc were the inspiration for me using the K64F on the 3.5 module rather than the usual ST32 mpu suspects! Would be good if you complete the project to share it. The MZ-800 and MZ-2000/2200 share the same floppy interface so very useable. I'm just in the process of completing a replica SFD800 Floppy card, boards have arrived, GAL re-designed and tested, just waiting for some parts: viewtopic.php?f=3&p=2078#p2078 - Once I have a working SFD800 card anyone who wants a PCB I'll post at cost.