23 January 2020, 21:27 | #1 |
Long time Amiga Owner
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 57
Posts: 182
|
tring to convert my include files but having issues
Hey everyone,
I have my old assembly include files from my 1.3 machine. Initially when I tried to open them in WinUAE it says the file contains binary data. When I looked in to them more I noticed they were slightly corrupt. I could load them in Notepad++ and regular notepad so I thought I would clean them up. Opening them in regular notepad should have stripped any special characters out of the file. I saved it as a new name, used ConvertEOL.exe and ran the command convertEOL unix francv1.i francv1.unix.i When I try to read it on WINUAE it still says it contains binary data. Any idea what I'm doing wrong? The files are located on my github here https://github.com/rcman/Amiga-Sourc...litter/include Thanks RC P.S The v2 file is the same just one with EQU and the other with = Oh I should mention I try to run ed on the files, that's when it gives me the error |
23 January 2020, 21:59 | #2 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,093
|
It looks like these files are raw-copied from a floppy, with block headers. Every 512 bytes there's 24 bytes of trash (mostly zeros). So you'd have to strip that out.
10 remove 24 bytes 20 copy 512-24 bytes 30 goto 10 |
24 January 2020, 14:00 | #3 |
Long time Amiga Owner
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 57
Posts: 182
|
Thank you. I think I have it sorted out.
RC |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MACRO68 & include files | Shadowfire | request.Apps | 11 | 17 February 2023 23:27 |
Devpac include files? | anotheramigafan | Coders. General | 2 | 21 August 2018 21:44 |
Basic/System include files | guy lateur | Coders. Asm / Hardware | 6 | 05 July 2017 12:53 |
[bug] FS-UAE-Launcher fails with files that include special characters | luttztfz | support.FS-UAE | 1 | 08 December 2013 21:45 |
Include files needed | Galahad/FLT | support.Apps | 2 | 03 September 2007 20:11 |
|
|