VOGONS


MartyPC

Topic actions

Reply 282 of 288, 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 288, 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 288, 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
213 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 288, 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
    161 views
    File license
    Public domain

Reply 286 of 288, 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 288, 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).