VOGONS


MartyPC

Topic actions

Reply 282 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member
DrH wrote on 2024-10-02, 01:48:

Interesting project.
May I ask why did you decide to do it in Rust?

Thanks.

No particular reason, I had been curious about the things I had been reading about Rust, and wanted to learn a new language. My original plans for the emulator were very modest, so I didn't think it would be too much of an issue learning emulation and Rust at the same time.

Turns out I really like Rust as a language, so that's good.

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc

Reply 283 of 294, by DrH

User metadata
Rank Newbie
Rank
Newbie

Thanks for the answer, @GloriousCow.
I'm considering the same thing. I never did an emulator before and at first I was thinking about doing it in C, but I'm reading a lot of good things regarding Rust.
Maybe, I'll give it a shot.
Thank again!

Reply 284 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member

I didn't set out to make a disk image converter, but it sort of worked out that it was convenient to let you do so.

I define a set of image capability flags, determine what flags the loaded image requires, and use that to enumerate a list of compatible, write-supported output formats, which are then presented via the ui as "Save As" targets.

image_conversion_01.png
Filename
image_conversion_01.png
File size
34.71 KiB
Views
431 views
File comment
save as options in martypc
File license
Public domain

Here the option to save back to the source image is grayed-out because I haven't implemented writing to MFM format - but you can save the image as 86F or PRI if you like.

There's now a file browser too, so you can load from and save to directories outside of MartyPC's media directory.

I am going to limit the number of writable formats to be sure that the ones I do support can have their bugs ironed out. For bitstream images, that means 86F and PRI, for sector images that's going to be PSI, and if no deviation from a standard format is detected, IMG (for either bitstream or sector)

MartyPC will convert raw sector images of standard format to bitstream images internally, so that means if you build a disk image from a directory or zip file, you can save it as 86F or PRI, too.

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc

Reply 285 of 294, by SoftCat

User metadata
Rank Newbie
Rank
Newbie

I specifically installed Windows 10 to run MartyPC. But I still can't run it, it shows this error. Can you tell me what to do?

Attachments

  • Screenshot02.png
    Filename
    Screenshot02.png
    File size
    26.29 KiB
    Views
    379 views
    File license
    Public domain

Reply 286 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member
SoftCat wrote on 2024-10-05, 23:24:

I specifically installed Windows 10 to run MartyPC. But I still can't run it, it shows this error. Can you tell me what to do?

It looks like it was unable to detect your video card. What do you have?

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc

Reply 287 of 294, by SoftCat

User metadata
Rank Newbie
Rank
Newbie
GloriousCow wrote on 2024-10-06, 22:17:
SoftCat wrote on 2024-10-05, 23:24:

I specifically installed Windows 10 to run MartyPC. But I still can't run it, it shows this error. Can you tell me what to do?

It looks like it was unable to detect your video card. What do you have?

I have two video cards on my laptop:
1) Intel Sandy Bridge GT2 (HD 3000) Integrated Graphics Controller;
2) NVIDIA GF119M (GeForce 610M).

Reply 289 of 294, by jal

User metadata
Rank Oldbie
Rank
Oldbie
SoftCat wrote on 2024-10-07, 21:36:

I have two video cards on my laptop:
1) Intel Sandy Bridge GT2 (HD 3000) Integrated Graphics Controller;
2) NVIDIA GF119M (GeForce 610M).

Maybe MartyPC gets confused about there being two video cards?

JAL

Reply 290 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member
SoftCat wrote on 2024-10-08, 00:04:

I was able to run MartyPC 0.2.1, but I couldn't make EGA. Could you explain in detail what needs to be done for EGA?

If 0.2.1 works but 0.2.2 doesn't, you need to follow the instructions in the release notes for 0.2.2 regarding older video cards.

The fastest way to use EGA is to add --machine-config-overlays=ibm_ega to your command line

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc

Reply 291 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member
jal wrote on 2024-10-08, 07:27:

Maybe MartyPC gets confused about there being two video cards?

JAL

The main problem is they're both 13 years old. wgpu dropped support for dx11

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc

Reply 293 of 294, by SoftCat

User metadata
Rank Newbie
Rank
Newbie
GloriousCow wrote on 2024-10-08, 16:14:
SoftCat wrote on 2024-10-08, 00:04:

I was able to run MartyPC 0.2.1, but I couldn't make EGA. Could you explain in detail what needs to be done for EGA?

If 0.2.1 works but 0.2.2 doesn't, you need to follow the instructions in the release notes for 0.2.2 regarding older video cards.

The fastest way to use EGA is to add --machine-config-overlays=ibm_ega to your command line

Thank you very much for your answer!

Reply 294 of 294, by GloriousCow

User metadata
Rank Member
Rank
Member

how about native flux image support?

sure why not

martypc_flux_02.png
Filename
martypc_flux_02.png
File size
290.19 KiB
Views
42 views
File comment
SCP flux image in MartyPC 0.3.0
File license
Public domain

MartyPC: A cycle-accurate IBM PC/XT emulator | https://github.com/dbalsom/martypc