BeerIDE emulation with LBA support?

Página 1/3
| 2 | 3

Por Prodatron

Paragon (1843)

imagem de Prodatron

29-11-2022, 11:36

I am currently writing a BeerIDE driver for SymbOS and would like to test it in OpenMSX soon.
I recognized, that the original BeerIDE disc rom is only using CHS addressing. As most "modern" HDs and all CF cards support LBA addressing as well, I would like to support only this one, because it's fast and easy.
Now I wonder, if OpenMSX supports both addressing types?

Entrar ou registrar-se para comentar

Por wouter_

Hero (522)

imagem de wouter_

29-11-2022, 14:04

I quickly checked the openMSX code, and I *think* it *only* supports LBA addressing.

In general: there are a huge number of ATA IDE commands, and openMSX only emulates a subset of them (all of the relevant commands to make the Sunrise IDE BIOS work correctly). But let us know if you need a command that's currently not emulated. Then we can probably add it.

Por Prodatron

Paragon (1843)

imagem de Prodatron

29-11-2022, 19:49

Thanks Wouter, BeerIDE with LBA addressing works fine in openMSX!
Now I wonder why I can't read multiple sectors at once.
The BeerIDE 1.8 firmware always sends a new address to the IDE for each single sector. I would like to use the possibility to read multiple sectors at once, but currently Catapult reports an "unsupported IDE command 00" when I read more than one sector (after sending the LBA/sector count to the IDE).
Probably I do something wrong, as I have no clue how the 8255 chip in-between is really working.

Por sd_snatcher

Prophet (3659)

imagem de sd_snatcher

29-11-2022, 22:38

@Prodatron, drivers for the SD-Mapper v1 and v2 would also be very welcome. Wink

They're more common than the BeerIDE, and the cheapest mass storage cartridge out there.

PS: v1 and v2 have different register sets.

Por gdx

Enlighted (6210)

imagem de gdx

30-11-2022, 01:15

BeerIDE would rather need a standard Disk-Rom before creating a driver for SymbOS.

Por ~mk~

Champion (328)

imagem de ~mk~

30-11-2022, 03:45

sd_snatcher wrote:

@Prodatron, drivers for the SD-Mapper v1 and v2 would also be very welcome. Wink

Get in line sd_snatcher Smile I contacted Prodatron and told him a BeerIDE driver would be nice and he kindly started looking into it.

Por st1mpy

Paladin (932)

imagem de st1mpy

30-11-2022, 09:37

Would BeerIDE 1.9 be supported too?

Por wouter_

Hero (522)

imagem de wouter_

30-11-2022, 13:40

Prodatron wrote:

... Now I wonder why I can't read multiple sectors at once...

It's been +15 years since we added IDE emulation, so I don't remember the details. Though when I look back at the code it seems that reading multiple sectors at once *should* be supported. It's of course possible that we have a bug in this part of the emulation, but we never noticed because none of the existing IDE disk ROMs actually uses this feature??

Prodatron wrote:

... but currently Catapult reports an "unsupported IDE command 00" ...

OpenMSX prints this warning when the software requests to execute an IDE command that is currently not emulated. So in this case it seems you wrote the value 0 to the IDE command register (=register 7). That's probably not what you intended?

Por Prodatron

Paragon (1843)

imagem de Prodatron

30-11-2022, 23:32

gdx wrote:

BeerIDE would rather need a standard Disk-Rom before creating a driver for SymbOS.

SymbOS doesn't care about any Disk-Rom as it can't use it and has to have its own driver. And this is working now, thanks to the help of ~mk~, Edo and openMSX team.
Now you can use FAT16, FAT32, subdirectories and 128GB partitions with your BeerIDE - at least in SymbOS Smile

It doesn't use the rom, so no matter if you have 1.8 or 1.9 or whatever in your BeerIDE, the only thing which is counting is the hardware, not the rom software.

Por Prodatron

Paragon (1843)

imagem de Prodatron

30-11-2022, 23:35

sd_snatcher wrote:

@Prodatron, drivers for the SD-Mapper v1 and v2 would also be very welcome. Wink
PS: v1 and v2 have different register sets.

Are these new hardware? Mega SD etc is something different? I should have a look at this. Maybe you have a link?

Por gdx

Enlighted (6210)

imagem de gdx

01-12-2022, 01:35

Can we also create the partitions and format them under SymbOS?

Página 1/3
| 2 | 3