joyrex2001 / dsk2rom Goto Github PK
View Code? Open in Web Editor NEWThis is an adjusted MSX diskrom that loads sectors from rom instead of a disk. It can be used to convert .dsk images to .rom images.
License: GNU General Public License v2.0
This is an adjusted MSX diskrom that loads sectors from rom instead of a disk. It can be used to convert .dsk images to .rom images.
License: GNU General Public License v2.0
Is there a possibility to switch DISKROM from BASIC or DOS and instantly execute the ROM without reset?
Building with gcc 4.9.2:
dsk2rom.c: In function 'int main(int, char**)':
dsk2rom.c:294:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (sector_hash[sector]==sector)
Code snippet:
292 /* write sector data */
293 for(sector=0;sector<total_sectors;sector++)
294 if (sector_hash[sector]==sector)
295 if (safe_mode)
296 for(i=0;i<sector_data[sector]->size;i++) {
297 if (!(ftell(output)%0x2000))
298 for (j=0;j<safe_patch_size;j++)
299 fputc(dsk2rom[safe_patch_offset+j],output);
300 fputc(sector_data[sector]->data[i],output);
301 }
302 else
303 fwrite(sector_data[sector]->data,1,sector_data[sector]->size,output);
(note indentation is inconsistent here too).
Please add support for the ASCII16 mapper, so 4MByte ROMs can be also used.
Hi, I love this project. I am using a Mac, and while concatentating the file works, the options for compression are very handy.
I have a compiled version that I build for myself, let me know if you want it to be added to the binary packages.
Not really a bug, more like a collaboration offer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.