Comments (3)
Raw sector images are ..raw. They have no header, footer, tag or metadata, and thus the only way to tell something is a floppy image is by the extension, or the exact file size.
'MNX' doesn't sound like a standard extension used for floppy images, but a specific extension someone picked to be cute. (I could be wrong!)
I could just allow you to load any file that appeared in your floppy directory, but inadvertently loading a text file or a JPEG into your floppy drive was somthing i wanted to avoid. Also I didn't want to show other floppy types like TD0 and IMD that I do not support, which would just lead to confusion if I allowed them to be loaded.
I suppose it would be fairly safe to show files that either have the correct extension, OR are exactly the right size to be a known raw sector image.
from martypc.
Based on your comment from the other issue, your MNX disk images are "short" and thus there's really no way at all to tell it is a floppy image, other than to just know that it is. Wunderbar.
I'm just going to put a list of file extensions to interpret as raw sector images in the config, and people can add whatever they want or whatever else comes along. A short image can be allowed to load, assuming it is some multiple of 512 bytes, and assuming all the sectors are in standard order. The rest of the disk will be all 0's.
from martypc.
There is now a config section where you can specify what extensions should be considered to be raw sector images:
[emulator.media]
# Provide a list of file extensions toi interpret as raw floppy sector images.
raw_sector_image_extensions = [ "img", "ima", "dsk", "mnx" ]
They may still need to be padded to the correct size first.
from martypc.
Related Issues (20)
- BUG: Look into always-on-top issue on Linux Mint Cinnamon
- MartyPC 0.2.0 fails to load keyboard mappings
- IBM 5150 fails to start on 0.2.0b stable due to missing overlay HOT 1
- Black screens in 8088MPH HOT 1
- Magiduck freezing at the end of a level HOT 1
- Monochrome blinks with colors in Doomtd3 HOT 6
- Emulator Crashes HOT 21
- "Create new VHD" fails unless extension .vhd is specified HOT 5
- Booting Minix 2.0.2 on PC XT fails silently HOT 29
- Cannot find icon.png error on startup HOT 4
- Failed to install ELKS due to error in mkfat HOT 6
- cargo run -r fails to compile on branch HOT 13
- Debug IO Port (0xE9) HOT 7
- Debugging: step over behavior HOT 4
- PC Speaker stuttering HOT 13
- Microsoft Smartscreen / Windows Defender flagging MartyPC as malware HOT 3
- "Device Lost" panic at high resolutions
- Continuous beeping, continuous untyped key input, some OSes stop to work. HOT 8
- Fail to run XEBEC MFM Controller Rom HOT 32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from martypc.