MSXDISK 0.9 BETA: Virtual Floppy Disk Driver over JOYSTICK2 of MSX

Страница 3/11
1 | 2 | | 4 | 5 | 6 | 7 | 8

By xavirompe

Resident (49)

Аватар пользователя xavirompe

25-02-2021, 19:54

It would be good to jointly define a standard protocol for this type of device.
My idea is to include an integrity test with CRC for example.
The protocol could be used with the routines through the joystick port or with serial port devices.
And the physical medium can be wired or wireless, for example with bluetooth.

By ocitygate

Expert (67)

Аватар пользователя ocitygate

25-02-2021, 19:56

Quote:

Shoot, i think my cable can not handle the *57600bps

This is to test 2 way communication at 57600bps : TST232.ZIP
First TST232.WAV -> BLOAD"CAS:",R
When display "Receiving..." on MSX, run TST232.EXE on PC.
Video

By ocitygate

Expert (67)

Аватар пользователя ocitygate

25-02-2021, 20:30

xavirompe wrote:

It would be good to jointly define a standard protocol for this type of device.
My idea is to include an integrity test with CRC for example.
The protocol could be used with the routines through the joystick port or with serial port devices.
And the physical medium can be wired or wireless, for example with bluetooth.

I'm open to ideas. How should we work?
I'm going to dedicate a lot of time to MSX Smile

By st1mpy

Paladin (709)

Аватар пользователя st1mpy

25-02-2021, 21:04

Like NYYRIKKI was asking, it would be great if that disk emulation works with a real rs-232c cartridge as well please. So if the tool was made more generic to any serial communication devices that would be cool.
I bought bunch of different serial chips ages ago, may be I can make use of them by making a serial cartridge just to use this disk tool, and a rom inside. I also have half finished i2c cartridge and spi cartridge...

By ocitygate

Expert (67)

Аватар пользователя ocitygate

25-02-2021, 22:25

st1mpy wrote:

Like NYYRIKKI was asking, it would be great if that disk emulation works with a real rs-232c cartridge as well please. So if the tool was made more generic to any serial communication devices that would be cool.

Unfortunately I'm not a hardware guy and I don't have a real rs-232 to test with.
And I am targeting my software specifically to my MSX. That is a bare minimum 64KB MSX1.
I made the source code available. Maybe some one could volunteer to adapt it.
Basically change the CALL TX and CALL RX (Refer to DRIVER.MAC in the SRC folder)

By xavirompe

Resident (49)

Аватар пользователя xavirompe

26-02-2021, 10:13

Well I think we can define the basic set of commands.
Looking forward, the command set will be a great improvement when the next version of Nextor comes to live (filesystem driver)
I purpose theses commands:
- Read data
- Write data
- Check drive status (Ready, off-line, etc)
- Get capacity
- Get Media type
==== and extended commands like:
- Get Filename
- Set Filename
- List directory
- Change directory
----------------
If we standarize the command set then will be more easy to deal with different host programs and platforms.

Another idea, is to build a PC program that can convert a PC directory to a disk image on the fly, like some emulator do with the option "open directory".

Well some suggestions about this?

By ocitygate

Expert (67)

Аватар пользователя ocitygate

26-02-2021, 10:20

NYYRIKKI wrote:
ocitygate wrote:

Page 1 in RAM is occupied by the DiskROM.
Is there any way of preventing MSXDOS from overwriting the DiskROM in page 1?

...This should prevent programs from using pages 1, 2 or 3 and limit the application memory between #100-#3EFF... but this is just untested theory. Stack may need some more attention.

I need to limit to page 2 and 3

By ocitygate

Expert (67)

Аватар пользователя ocitygate

27-02-2021, 13:02

Version 0.91 released.
Now supports CAS files.

By st1mpy

Paladin (709)

Аватар пользователя st1mpy

27-02-2021, 14:25

Did you manage to try burning the disk rom in a cartridge? (I could try that).

Also, what tool do I need to assemble the mac files for driver and disk (do I need to specify something). I'm thinking of starting with a small mod (change the io port to external psg port numbers), as I have been making an external ym2149 cartridge and the 2 gpio ports are not used, so I can make that into a serial port using your tool. It will end up as a cartridge with disk rom, psg, serial port.

By ocitygate

Expert (67)

Аватар пользователя ocitygate

27-02-2021, 18:27

st1mpy wrote:

Did you manage to try burning the disk rom in a cartridge? (I could try that).

Not yet, still trying to source EEPROMs. Yes try, I'd like to know the results.

st1mpy wrote:

Also, what tool do I need to assemble the mac files for driver and disk (do I need to specify something).

You need MASM-80.ZIP. It runs on an MSX (or emulator).
Run MAKE.BAT (included in the SRC) to compile. The output is DISK.HEX. Transfer it to PC.
For the final step you need hex2bin.exe.
On PC, run hex2bin -e ROM DISK.HEX and it will output DISK.ROM

Страница 3/11
1 | 2 | | 4 | 5 | 6 | 7 | 8