joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.68k stars 380 forks source link

Nec PC-98 How to? #1504

Open inukaze opened 4 years ago

inukaze commented 4 years ago

Hi there, i am trying to emulate pc-98 with dosbox-x (sdl1) manual compiled when i ran dosbox-x start normally inside the msdos

How i can switch to pc-98 mode? I need specific bios files? is possible to mount hdi and fdd , and multi-fdd images for install games?

i want to try again, i remember time ago i can start in pc98 mode and start a game, but i never try to mount hdi or fdd image or if i try pobrably is just don't work, and because of that i never had installed nothing from that "hard disk image" or "flopy disk drive image" xD.

Well thanks for any help you can gave me.

Wengier commented 4 years ago

Just change "machine=svga_s3" to "machine=pc98" in DOSBox-X's config file and run dosbox-x.exe. It will then start in the PC-98 mode.

Wengier commented 4 years ago

Also, mounting FDD/HDD images in PC-98 mode is the same as in the regular mode. Use the IMGMOUNT command for this purpose.

joncampbell123 commented 4 years ago

DOSBox-X can use FONT.ROM and SOUND.ROM files to improve emulation but they are not required, although some games do require SOUND.ROM (the ROM image on the FM board) to make music and sound effects and emulation of that is not yet implemented. BIOS.ROM is not required or needed.

inukaze commented 4 years ago

Just change "machine=svga_s3" to "machine=pc98" in DOSBox-X's config file and run dosbox-x.exe. It will then start in the PC-98 mode.

Dunnos : 1 - Is not possible to change the machine on the fly? or with argument / parameter on the cli to start without read the configuration file like pc98 ?

2 - why use dosbox-x.exe via wine instead of native binary executable for gnu/linux?

Wengier commented 4 years ago

Ideally you can set "machine=pc98" on the fly using config -set. But for now it is not yet possible. A command-line parameter to start PC-98 mode is a good idea though.

inukaze commented 4 years ago

Ideally you can set "machine=pc98" on the fly using config -set. But for now it is not yet possible. A command-line parameter to start PC-98 mode is a good idea though.

Well, since it is not possible to do that yet then I will proceed to create a script for it

inukaze commented 4 years ago

Can you give me, some example how to i can mount using imgmount to mount hdi or fdd image files ?

hdi

joncampbell123 commented 4 years ago

For the HDI image, try adding -partidx 0 to the IMGMOUNT command.

A failure to find the DOS partition can happen if the partition name does not have the string "MS-DOS" in it.

joncampbell123 commented 4 years ago

FDD images should mount normally, however if you are attempting to mount to drive A: the FDD image must contain a valid FAT filesystem.

Some PC-98 booter games do NOT have a valid FAT filesystem and need to be run using BOOT followed by the disk image.

inukaze commented 4 years ago

For the HDI image, try adding -partidx 0 to the IMGMOUNT command.

A failure to find the DOS partition can happen if the partition name does not have the string "MS-DOS" in it.

hdi

inukaze commented 4 years ago

FDD images should mount normally, however if you are attempting to mount to drive A: the FDD image must contain a valid FAT filesystem.

Some PC-98 booter games do NOT have a valid FAT filesystem and need to be run using BOOT followed by the disk image.

Ok then, with which software you recommend i do that ? with linux dd or using "WinImage" for make Floppy Disk Images with Fat filesystem compatible? fdd

Well for the HDI files i use same software or is better i use another ? hdi

Wengier commented 4 years ago

@inukaze Use "BOOT -L A" instead of "BOOT 0" or "BOOT A:".

inukaze commented 4 years ago

Well is very easy xD LOL :

imgmount 0 file.fdd -t floppy -fs none
boot -l a

Well when i try to start exevious i saw this : fdd

and searching on internet how i can extract files from fdd / hdi files i found -> This <- website , in there i saw a "MS-DOS Shell" screenshot of MSDOS Shell for PC98.

inukaze commented 4 years ago

Well i try with the another game "rusty"

imgmount 3 archivo.hdi -t hdd -fs none
boot -l d

hdi hdi2

Dunno : in pc98 mode i had 8 slots for mount images?

hdi3 hdi4 hdi5

Well in this game i can attack and jump but i can't move :v xD

joncampbell123 commented 4 years ago

Rusty responds to the numeric keypad, Z and X, not the arrow keys.

joncampbell123 commented 4 years ago

DOSBox-X does not yet support anything that uses the N88 ROM BASIC.

Wengier commented 4 years ago

I have added the -set command-line option for DOSBox-X in pull request #1518, so you can now start DOSBox-X in PC-98 mode directly with the command:

dosbox-x.exe -set machine=pc98

inukaze commented 4 years ago

Rusty responds to the numeric keypad, Z and X, not the arrow keys.

Well on my pc i try, and is very difficult to move the main character for reasons i can't understand.

How i can demostrate you when i press multiples times the key 6 in the numeric key pad, just move one step ?

Some friends test for me on their machines and works fine

I have added the -set command-line option for DOSBox-X in pull request #1518, so you can now start DOSBox-X in PC-98 mode directly with the command:

dosbox-x.exe -set machine=pc98

Thank you very much for that :D, is possible you can add in a future release to switch on the fly to pc98 and back if the user need ? for example when the user ran inside the dosbox-x

config -set machine=pc98

and if the user need can back with for example

config -set machine=s3

i got a dunno after i play a pc98 game, is possible to go back like after start the game without restart dosbox-x ?

joncampbell123 commented 4 years ago

Machine type switching on that scale is going to be very difficult to do, because it affects a lot of about how resources are allocated and arranged at startup of the emulation.

inukaze commented 4 years ago

Machine type switching on that scale is going to be very difficult to do, because it affects a lot of about how resources are allocated and arranged at startup of the emulation.

Ok i understand , thanks for the quick answers :D

Wengier commented 4 years ago

My thought about "config -set machine=pc98" (or any config settings of "OnlyAtStart" types indeed) is that DOSBox-X will ask if it will restart itself automatically when such a command is entered in the command line, e.g.

This change can only take effect if DOSBox-X is restarted. Do you want to do this now? [Y/N]

If the user answer "Yes" then DOSBox-X will automatically restart itself in PC-98 mode, while keeping all other current settings. This should be much easier to do. Maybe later.

inukaze commented 4 years ago

My thought about "config -set machine=pc98" (or any config settings of "OnlyAtStart" types indeed) is that DOSBox-X will ask if it will restart itself automatically when such a command is entered in the command line, e.g.

This change can only take effect if DOSBox-X is restarted. Do you want to do this now? [Y/N]

If the user answer "Yes" then DOSBox-X will automatically restart itself in PC-98 mode, while keeping all other current settings. This should be much easier to do. Maybe later.

i think that is a good via for do that because when the user ran a game in pc if want to ran another game need restart xD

RNMB15 commented 4 years ago

FONT.ROM and FREECG98.bmp are not loaded.

When I open the dosbox with the windows desktop link, the FONT.ROM or FREECG98.bmp are not loaded.

Like this picture dosbox 1

If I open dosbox.exe directly where it is located in the folder, FONT.ROM or FREECG98 will be loaded.

Like this picture dosbox 2

When I drag an exe from a game into dosbox.exe, the FONT.ROM or FREECG98 are not loaded either.

Like this picture dosbox 3

I have not tested whether the SOUND.ROM is loaded.

Wengier commented 4 years ago

My thought about "config -set machine=pc98" (or any config settings of "OnlyAtStart" types indeed) is that DOSBox-X will ask if it will restart itself automatically when such a command is entered in the command line, e.g. This change can only take effect if DOSBox-X is restarted. Do you want to do this now? [Y/N] If the user answer "Yes" then DOSBox-X will automatically restart itself in PC-98 mode, while keeping all other current settings. This should be much easier to do. Maybe later.

i think that is a good via for do that because when the user ran a game in pc if want to ran another game need restart xD

It will take some time to clean up the DOSBox-X config options since there are so many of them.

By the way, with the recent DOSBox-X builds you can already use "BOOT A:" instead of "BOOT -L A", as the former (i.e. "BOOT A:") is indeed is much easier to type and remember.

inukaze commented 4 years ago

By the way, with the recent DOSBox-X builds you can already use "BOOT A:" instead of "BOOT -L A", as the former (i.e. "BOOT A:") is indeed is much easier to type and remember.

Thank you very much for that xD whats mean the parameter "-L" ?

Wengier commented 4 years ago

By the way, with the recent DOSBox-X builds you can already use "BOOT A:" instead of "BOOT -L A", as the former (i.e. "BOOT A:") is indeed is much easier to type and remember.

Thank you very much for that xD whats mean the parameter "-L" ?

"-L" means use specified drive letter. So "-L A" means use drive letter A.