Closed issalig closed 2 years ago
It is running ok on my MSX2. I know you're testing on MSX1 Issalig, I need to get mine from its box to test and that will take some time. Meanwhile, can you test with this ROM https://github.com/cristianoag/MSX-USB/blob/master/drivers/MsxUsbNext/msx/dist/nextor.rom ?
Cristiano
From: issalig @.> Sent: Friday, July 1, 2022 9:28 AM To: S0urceror/MSX-USB @.> Cc: Subscribed @.***> Subject: [S0urceror/MSX-USB] USBNEXT does not load some programs on mounted .dsk (Issue #18)
Test equipment: VG8020 (MSX1)
Mounting a .dsk , for example https://drive.google.com/file/d/1uAYQdP8-Zte_G4u_4CSZ_ULAv0S5TIIP/view?usp=sharinghttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1uAYQdP8-Zte_G4u_4CSZ_ULAv0S5TIIP%2Fview%3Fusp%3Dsharing&data=05%7C01%7C%7Cda43164a41ba4741a9be08da5b5d1c84%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922752718412200%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7mtHMqnc%2FSOJVXPMd9XIu%2FMqJQIyorkaIxckUq9byPg%3D&reserved=0
For example, it loads execrom.com but it does not load bombj.com
Any hint?
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FS0urceror%2FMSX-USB%2Fissues%2F18&data=05%7C01%7C%7Cda43164a41ba4741a9be08da5b5d1c84%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922752718412200%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dBhP5iiO0qODSQGEWMP67jvy8scsGTPl4bqUyJ1TdAs%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALSAPKWT7UNA6N2HVAISVMLVR3P4JANCNFSM52MSN4QQ&data=05%7C01%7C%7Cda43164a41ba4741a9be08da5b5d1c84%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922752718412200%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aQccgdiJL1keslDyhfuFnExR8%2FMjHuOvUiGlaKyYq2Y%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
😠same result. It does not work.
Also pay attention to the strange behaviour for the file "BOMBJ.COM" bombj reads sth but bombj.com reports bad command or file name
Then if I execute "EXECROM.COM" or "EXECROM" it works ok and it exectures that program. After that if try again with "BOMBJ" it really executes EXECROM. "BOMBJ.COM" also reports bad command as before.
Not sure if I have explained well but it is really weird.
BOMBJ.COM and EXECROM.COM exist and are reported with dir
Try only bombj (without the com). You see, there weren’t any read operations. The OS reported the error without even touch the disk.
From: issalig @.> Sent: Friday, July 1, 2022 1:30 PM To: S0urceror/MSX-USB @.> Cc: Cristiano Goncalves @.>; Comment @.> Subject: Re: [S0urceror/MSX-USB] USBNEXT does not load some programs on mounted .dsk (Issue #18)
😠same result. It dos not work. [IMG_20220701_182807]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F7136948%2F176934316-e8904059-e5e6-456a-9e01-6e48f76726c7.jpg&data=05%7C01%7C%7C55f953a71a55457c9e6708da5b7efc99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922898227733395%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sIyP0DcvpMIOcqg1SUndV%2Fy2FxI7UJAJhmdKpGf2ufw%3D&reserved=0
— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FS0urceror%2FMSX-USB%2Fissues%2F18%23issuecomment-1172516578&data=05%7C01%7C%7C55f953a71a55457c9e6708da5b7efc99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922898227733395%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qeAFXQrBNYpZtvpRBlzN1%2BwkN%2Bw%2BVUNdYS3kgJ7tvxQ%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALSAPKWPRTQOCJIMOXWNVGTVR4MJTANCNFSM52MSN4QQ&data=05%7C01%7C%7C55f953a71a55457c9e6708da5b7efc99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922898227733395%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=W27ddOnv7Vxq4s4Cqs0Xb3LQvWx3gAKmEA3HCSRM6cg%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
How have you created BOMBJ.COM?
From: issalig @.> Sent: Friday, July 1, 2022 1:36 PM To: S0urceror/MSX-USB @.> Cc: Cristiano Goncalves @.>; Comment @.> Subject: Re: [S0urceror/MSX-USB] USBNEXT does not load some programs on mounted .dsk (Issue #18)
Also pay attention to the strange behaviour for the file "BOMBJ.COM" bombj reads sth but bombj.com reports bad command or file name
Then if I execute "EXECROM.COM" or "EXECROM" it works ok and it exectures that program. After that if try again with "BOMBJ" it really executes EXECROM. "BOMBJ.COM" also reports bad command as before.
Not sure if I have explained well but it is really weird.
BOMBJ.COM and EXECROM.COM exist and are reported with dir
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FS0urceror%2FMSX-USB%2Fissues%2F18%23issuecomment-1172522627&data=05%7C01%7C%7C08ad09b52dcb4350c23308da5b7fd9d8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922901927641484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4hagTjAeQF0f6iUljWqDbY43N003ZS592TDBB2%2FJfkg%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALSAPKXLC76MNXGDJSWJWJTVR4NA3ANCNFSM52MSN4QQ&data=05%7C01%7C%7C08ad09b52dcb4350c23308da5b7fd9d8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922901927641484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ho5C1AFZvqIY%2Fxq7JvLflEVKdBdn7yEgf4hV1S%2BJBHA%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
No, it is a game you can find in this dsk https://drive.google.com/file/d/1uAYQdP8-Zte_G4u_4CSZ_ULAv0S5TIIP/view?usp=sharing
Under MsxUsbHost it works ok.
Uhm. Yeah… something is wrong.
I asked how you created bombj.com because originally that game is found as a rom file. Some software transformed the rom file into a com file. I just wanted to know which software to better understand what is going on.
But I found other bugs in the next code that need review as well. Those may be related.
The bug I found is related to how the driver detects if the disk changed. But that information is coming from an assembler routine that I didn’t understand well. Sourceror needs to check as he wrote that part.
Get Outlook for iOShttps://aka.ms/o0ukef
From: issalig @.> Sent: Friday, July 1, 2022 3:02:59 PM To: S0urceror/MSX-USB @.> Cc: Cristiano Goncalves @.>; Comment @.> Subject: Re: [S0urceror/MSX-USB] USBNEXT does not load some programs on mounted .dsk (Issue #18)
Under MsxUsbHost it works ok.
— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FS0urceror%2FMSX-USB%2Fissues%2F18%23issuecomment-1172590116&data=05%7C01%7C%7Cf49127ccab8e478912f908da5b8bef39%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922953860536552%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7JxcxCWWMCC0s9MC5fdEGeOjDH7G%2BBXQu59FczG%2FpvM%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALSAPKRSMXW7IY3KATKUM7LVR4XFHANCNFSM52MSN4QQ&data=05%7C01%7C%7Cf49127ccab8e478912f908da5b8bef39%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637922953860536552%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Ux%2BVf6vsr6fWhv8xExNdwUzdaNoE2yYzbx9mQ84YdSE%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
Do not exactly what it does, but pretty sure it was converted and probably uses dirty tricks. But in MsxUsbHost it works nice.
Hi Issalig, I just fixed a bug that Cristiano pointed out earlier. I'll do some further testing and also check that with Bomberjack. I'll let you know the result later.
On MSX2 it works fine.
On MSX1 in a debug build it shows this:
I noticed on MSX2 it loads much more sectors, like this:
Then resets and starts the game.
You are right that the old MSXUSB loads it. Previous test was wrong:
Also tried another .ROM file from FileHunter and tried loading with EXECROM. Also doesn't work. Interesting... More research is needed.
Next week I will get a sony hb20p . I will check it there too but I guess it will behave similar to vg8020.
Hi issalig,
Spend a bit more time research MSXUSBNext:
I tested your VG8020 in OpenMSX. UsbNext with BOMBJ does not work. Once you load a Philips Floppy interface and reset then UsbNext with BOMJ works! Remove it again, reset, and it doesn't work anymore.
So, it looks like a DISKROM must be present to be able to run BOMBJ.com. On MSX2 this is already built-in. On MSX1 this is usually added via a cartridge.
Still, why does the old MSXUSB not have this requirement? The search is not yet over...
Ok, found it. It looks like this is a very special case in Nextor that causes this. I fixed it and asked it to be included in a next release.
The new release file nextor.rom in the dist folder is already patched and BOMBJ.COM is working!
Congratulations. Really good work. I have tried it in a HB-20 both from a DSK image and FAT and bombj is working ok.
Great. Happy to hear it’s working. This was a tough one to find.
Email written on my mobile device
From: issalig @.> Sent: Tuesday, September 13, 2022 8:01:45 PM To: S0urceror/MSX-USB @.> Cc: S0urceror @.>; State change @.> Subject: Re: [S0urceror/MSX-USB] USBNEXT does not load some programs on mounted .dsk (Issue #18)
Congratulations. Really good work. I have tried it in a HB-20 both from a DSK image and FAT and bombj is working ok.
— Reply to this email directly, view it on GitHubhttps://github.com/S0urceror/MSX-USB/issues/18#issuecomment-1245769903, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGC6KDTQARH3Z5K7AKZKHTV6C6QTANCNFSM52MSN4QQ. You are receiving this because you modified the open/close state.Message ID: @.***>
Test equipment: VG8020 (MSX1)
Mounting a .dsk , for example https://drive.google.com/file/d/1uAYQdP8-Zte_G4u_4CSZ_ULAv0S5TIIP/view?usp=sharing
For example, it loads execrom.com but it does not load bombj.com
Any hint?