Sensor Kid emulation

Página 2/3
1 | | 3

Por mars2000you

Enlighted (5954)

Imagen del mars2000you

03-08-2015, 21:22

A little precision about the PX-7 emulator : the version in the package of Mr.Takeda's Common Source Code Project http://homepage3.nifty.com/takeda-toshiya/common/index.html is recommended, because it supports the OGV format.

Por Manuel

Ascended (18075)

Imagen del Manuel

03-08-2015, 21:35

Ah, now that you mention it, it seems they based the LD-700 emulation on openMSX Smile Cool.

Por mars2000you

Enlighted (5954)

Imagen del mars2000you

03-08-2015, 21:47

Yes, it is mentioned in the readme.txt file :

"- vm/ld700.*
openMSX LD-700"

Smile

Por umaiboux

Resident (43)

Imagen del umaiboux

04-08-2015, 16:18

mars2000you wrote:

I've noticed for example that all MSX emulators based on Mr.Takeda's Common Source Code Project use the fMSX DISK rom, so it means that disk emulation is not accurate.

A few people builds Mr.Takeda-based MSX emulator and perhaps no one spends many hours for it now.
MB8877 and uPD765A emulation codes are included in Mr.Takeda's Common Source Code Project, and used in some of other machines.
If someone builds Mr.Takeda-based MSX emulator with FDC and Mr.Takeda verifies it, He may import it to his own project. It is not limited to the FDC and/or MSX.
But I think that patched-DISKROM style must not be deleted. Best way, each user can select whether FDC or patched.

mars2000you wrote:

Also the CAS/WAV support seems to be uncomplete, I don't have succeeded to run MSX games in these formats, although the loading of the CAS/WAV file seems to work.

Mr.Takeda's CAS format seems to be not compatible with other MSX emulators. If someone wants to add compatibility, he or she must to add MSX-specific procedures in DATAREC class.
New WAV file that was created and csaved by openMSX can be loaded by Mr.Takeda's MSX emulator, and vice versa.
If you don't have succeeded with WAV format, it maybe depends on WAV file header/format/frequency or waveform.
Or something maybe wrong with start/stop/rewind/open/close control of Mr.Takeda's emulator.
Or same result if you change the "CMT -> Waveform Shaper"?
(With regard to frequency of csaved WAV sound header, Mr.takeda's MSX emulator seems closer to 2400Hz than openMSX.)

mars2000you wrote:

Anyway, it's still interesting to have new MSX emulators. Especially your Pioneer PX-7 emulator http://umaiboux.k-free.net/yaya/2014-04-01plus1.html will interest blueMSX users, because blueMSX does not support Laser dics, also because openMSX stil does not have a beautiful interface, just like blueMSX users like.

PX-7 emulator was written by Mr.Takeda.
LaserDisc emulation of http://umaiboux.k-free.net/yaya/2014-04-01plus1.html was not changed from Mr.Takeda's 2014/04/01 version.
I just improved some of MSX common part, and Mr.Takeda imported them to his own project.
I don't have PX-7, LaserDisc drive and LaserDisc softwares.
I don't know about LaserDisc. (also in future, maybe)

Por mars2000you

Enlighted (5954)

Imagen del mars2000you

04-08-2015, 17:33

Thanks for all these precisions ! Smile

You're right, WAV emulation works, I had probably tried a bad file. I've just made another test by converting first a CAS file into the WAV format with the CAS tools of Vincent van Dam, and I've succeeded to run and play the fixed version of a Spanish game (Mad Mix Game). So, it's OK for the WAV files.

Note that openMSX uses internally this cas2wav convertor, while blueMSX patches internally the BIOS MSX rom to run CAS files. I guess Mr.Takeda uses a procedure similar to the openMSX procedure. Maybe the solution is to include the cas2wav convertor inside the emulator.

Por Manuel

Ascended (18075)

Imagen del Manuel

13-08-2015, 22:13

umaiboux: are you interested to help with openMSX?

Por umaiboux

Resident (43)

Imagen del umaiboux

14-08-2015, 17:56

Where is the TODO list?
I cannot spends many hours for MSX emulators now, but I (or other person) might be able to do something/sometimes.

Por Manuel

Ascended (18075)

Imagen del Manuel

17-08-2015, 22:43

Well, there's a whole lot of bug tickets and feature requests. And if you are just simply interested in implementing something, just ask around and we can tell you what is TODO about it.

Por st1mpy

Paladin (799)

Imagen del st1mpy

03-05-2021, 23:18

I thought Sensor Kid would be perfect for arduino in cartridge port. So I got the rom on mfr, and returning random values to port 0 and 1 reads got passed the check, and the rom boots on a real machine. The extended basic commands work and returns values.
I've got a board with adc and dac so I was going to return the actual temperature, sound and light readings from the sensors. I found the scan of the manual which has the schematics. Annoyingly, the real cartridge sends the sensor value as a serial data on d0 pin. Which is doable on my setup but needs programming, it would have been easier if I could just send back the 8 bits in parallel, so it won't be ready tonight...

Por st1mpy

Paladin (799)

Imagen del st1mpy

09-05-2021, 00:29

Got it all working now, arduino does have analog input pins so I don't need to use this extra adc and dac i2c board but used it as the sensors are already on it. And the 2 outputs for sensor kid are digital, so I can just assign those to arduino digital pins. Just had to send the requested sensors readings in serial (start bit 0, msb, ... lsb, stop bit 0) back to msx through d0 in cartridge port. The call commands are provided but the io ports are used like this:
Io port 0, read data
Io port 0, write digital out values, chip select, sensor select, range select, clock
Io port 1, read back digital out values
Io port 1, write does nothing
I'll do a video tomorrow.

Página 2/3
1 | | 3