Code Monkey home page Code Monkey logo

jfdelnero / hxcfloppyemulator Goto Github PK

View Code? Open in Web Editor NEW
73.0 2.0 11.0 17.37 MB

HxC Floppy Drive Emulator toolkit

Home Page: https://hxc2001.com/floppy_drive_emulator/

Makefile 1.26% C 88.68% C++ 3.72% Batchfile 0.06% Shell 0.50% HTML 2.59% CMake 0.52% M4 0.22% CSS 0.01% Roff 0.13% Module Management System 0.01% Inno Setup 0.04% Python 0.34% Meson 0.08% SAS 0.01% Ada 0.61% Assembly 0.11% Pascal 0.51% C# 0.38% DIGITAL Command Language 0.19%
drive emulation floppy analysis

hxcfloppyemulator's People

Contributors

bsdphk avatar d235j avatar gonk23 avatar jfdelnero avatar mx-shift avatar renaudguerin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hxcfloppyemulator's Issues

HxC fails to create working .STX images, for Atari ST (emulation), from flux dumps.

As per previous suggestion, here are the list of disk images I've created using Greaseweazle, that HxC doesn't create a working .stx for.

https://archive.org/details/Atari_Arcade_Classics_AtariUK_AtariST_DiskImage
https://archive.org/details/Barbarian_Kixx_KlassiX_AtariST_DiskImage
https://archive.org/details/Batman_The_Movie_Ocean_2Disk_AtariST_DiskImage
https://archive.org/details/Bombjack_Encore_AtariST_DiskImage
https://archive.org/details/ChuckieEgg_PickAndChoose_AtariST_DiskImage
https://archive.org/details/Falcon_Mirrorsoft_AtariST_DiskImage
https://archive.org/details/Football_Manager_2_And_Football_Manager_2_Expansion_Kit_Addictive_AtariST_DiskImage_2
https://archive.org/details/Frost_Byte_16Bit_Pocket_Powerdisk_AtariST_DiskImage
https://archive.org/details/Heroes_Domark_AtariST_DiskImage_1
https://archive.org/details/Lethal_Weapon_Ocean_AtariST_DiskImage
https://archive.org/details/Levithan_English_Software_Company_Atari_ST_DiskImage
https://archive.org/details/MagicLand_Dizzy_Codemasters_AtariST_DiskImage
https://archive.org/details/McDonald_Land_Virgin_AtariST_DiskImage
https://archive.org/details/Movie_Stars_Titus_AtariST_DiskImage_2
https://archive.org/details/Movie_Stars_Titus_AtariST_DiskImage_3
https://archive.org/details/Paperboy_Elite_AtariST_DiskImage
https://archive.org/details/Plutos_Prism_Leisure_AtariST_DiskImage
https://archive.org/details/Speed_Ball_Image_Works_AtariST_Disk
https://archive.org/details/Sorcery_Plus_Virgin_AtariST_DiskImage
https://archive.org/details/Speed_Ball_Image_Works_AtariST_Disk
https://archive.org/details/Speed_Ball_Mirror_Image_AtariST_DiskImage
https://archive.org/details/Sports_Spectacular_AtariST_DiskImage_2
https://archive.org/details/Strike_Force_Harrier_Mirror_Image_AtariST_DiskImage
https://archive.org/details/Striker_Gremlin_AtariST_DiskImage
https://archive.org/details/Super_Off_Road_16_Blitz_Tronix_AtariST_DiskImage
https://archive.org/details/Tenstar_Drivin_Force_Digital_Magic_Software_AtariST_DiskImage
https://archive.org/details/Tracksuit_Manager_AgainAgain_AtariST_DiskImage
https://archive.org/details/Turrican_Kixx_AtariST_DiskImage
https://archive.org/details/War_Machine_Smash16_AtariST_DiskImage
https://archive.org/details/Wizkid_Ocean_AtariST_DiskImage
https://archive.org/details/World_Class_Leaderboard_Kixx_KlassiX_AtariST_DiskImage
https://archive.org/details/WinterOlympiad_Tynesoft_AtariST_DiskImage

Aufit creates a working .stx, but HxC does not.

XML files do not contain status of CRC check

I wasted a bit of time thinking that the produced XML files contained only sectors where the CRC check matched.

I can fully see the reasoning for including all sectors, but then the CRC status should be included.

I am not familiar enough with the HxC source code, to know if this is how to do it, or even how you want this to look in the XML file, but this seems to work for me:

(NB: copy&pasted patch)

diff --git a/libhxcfe/sources/loaders/xml_loader/xml_writer.c b/libhxcfe/sources/loaders/xml_loader/xml_writer.c
index f597b361..b75b8b25 100644
--- a/libhxcfe/sources/loaders/xml_loader/xml_writer.c
+++ b/libhxcfe/sources/loaders/xml_loader/xml_writer.c
@@ -236,7 +236,8 @@ int XML_libWrite_DiskFile(HXCFE_IMGLDR* imgldr_ctx,HXCFE_FLOPPY * floppy,char *
        for(s=0;s<nb_sectorfound;s++)
        {

-               fprintf(xmlfile,"\t\t\t\t\t<sector sector_id=\"%d\" sector_size=\"%d\">\n",sca[s]->sector,sca[s]->sectorsize);
+               fprintf(xmlfile,"\t\t\t\t\t<sector sector_id=\"%d\" sector_size=\"%d\" hcrc=\"%d\" dcrc=\"%d\">\n",
+                   sca[s]->sector,sca[s]->sectorsize, sca[s]->use_alternate_header_crc, sca[s]->use_alternate_data_crc);
                if(sca[s]->fill_byte_used)
                {
                        fprintf(xmlfile,"\t\t\t\t\t\t<data_fill>0x%.2X</data_fill>\n",sca[s]->fill_byte);

SCP Image with 35 tracks only shows 34 in HxCFloppyEmulator Software

I used a GreaseWeazle to create a disk image which I knew would have 1 side and and up to 35 tracks. To make the image I ran:

gw read --tracks="c=0-34:h=0" fhl_extended_basic.scp

This particular disk has all 35 tracks. When I loaded the resulting SCP file into the GUI or hxcfe command line tool it only shows 34 tracks instead of 35. Doing some research about the problem I found the following GreaseWeazle bug report keirf/greaseweazle#277 has a workaround of converting the SCP file to KryoFlux. I tried this and when I loaded the KryoFlux file into the GUI/hxcfe it now shows all 35 tracks. Converting to HFE Format also works.

Conversions:

gw convert --tracks="c=0-34:h=0" fhl_extended_basic.scp my_kf/00.0.raw
gw convert --tracks="c=0-34:h=0" fhl_extended_basic.scp fhl_extended_basic.hfe::bitrate=250

HxCFloppyEmulator Software Version: 2.14.6.3(Mac)

Attachments in the Zip File:

  • fhl_extended_basic.scp
  • fhl_extended_basic.hfe (HFE Conversion of the SCP)
  • my_kf/ - (KryoFlux conversion of the SCP)

fhl_extended_basic.zip

Trying to use HxCFloppyEmulator to remove padding from an image but results in missing sector

Goal: Convert a FLEX DSK image with padding on Track 0 into a DMK file without padding
Method: Made a custom XML which skips the padding sectors on Track 0
Result: Using the raw importer and the XML results in one missing sector at the end
Versions Used: 2.5.6.6(Win) 2.14.4.1(Mac), 2.14.6.2(Mac)

The FLEX disk in question is a relatively standard one.
Track 0: IBM_FM 10 sectors 256 bytes
Tracks 1-34 IBM_MFM 18 sectors 256 bytes
Sides: 1

The CCSPELL.DSK disk image is a sector image with padding. All tracks in this image, including track 0, have 18 sectors. So as stated in the goal, I want to remove the padding sectors. I created the custom XML which reads the first 10 sectors of track 0, then the offset where track 1 starts skips over the 8 padding sectors. If I import the disk image using this XML the result is that the last sector of Track 34 Sector 18 is always missing -- the data is filled with the fill value instead of the actual data. Everything else in the image other than this correct.

As an experiment I made a test image (test.dsk) For this image I appended 2560 additional bytes on the end of CCSPELL.DSK. When I use the XML to import this file then the missing sector is present. The results of this experiment suggest that something is getting confused somewhere when the image is being imported.

Attachments in the Zip File
CCSPELL.DSK
DiskLayout_FLEX_SSDD_35T_padding_removed.xml
test.dsk
ccspell.zip

Opening CT Raw file with libcapsimage

When I try to open an old CT Raw file made with Kryoflux Free (the old Amiga program) I get a Load error! Read file error!

I can open IPF files just fine so I don't there's an issue with loading the library.

Thank you!

Multiple failures on .JV3 and .DMK formats (TRS80)

I am using the command line tool on Ubuntu Linux. The tool says it supports .JV3 and .DMK but it does not unfortunately. The loaders for the formats are found though. Here the issues I have encountered:

  • I am not able to -list the directory contents of disks in .JV3 and .DMK format. Neither with the original image, nor when being converted to .HFE
  • The -putfile: option does not work, even though the command line tool says it does
  • The -getfile: option does not work either

If you could look into this and provide a fix or workaround, that would be much appreciated. I've attached disk images for you as a reference and for testing. These contain my own game "The Ghosts of Blackwood Manor" for TRS80 Model 3 and TRS80 Model 4.

If you have further questions, please let me know. Happy to help!

ghosts_trs80_jv3_dmk.zip

hxcfloppyemulator executable should accept filename as argument

As I'm fine-tuning my Linux environment, I'm attempting to associate all .hfe files with HxC Floppy Emulator so I can quickly open it from my file manager and begin poking around on the floppy image. Unfortunately it seems the executable does not do anything with argv/argc. This could be a relatively low-effort improvement that may also apply to non-Linux versions of the application.

Expected: hxcfloppyemulator disk1.hfe launches the GUI app and automatically loads disk1.hfe
Actual: hxcfloppyemulator disk1.hfe does the same thing as hxcfloppyemulator and just launches the GUI app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.