English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 23 January 2020, 21:27   #1
rcman
Long time Amiga Owner
 
rcman's Avatar
 
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 56
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
rcman is offline  
Old 23 January 2020, 21:59   #2
a/b
Registered User
 
Join Date: Jun 2016
Location: europe
Posts: 1,039
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
a/b is offline  
Old 24 January 2020, 14:00   #3
rcman
Long time Amiga Owner
 
rcman's Avatar
 
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 56
Posts: 182
Thank you. I think I have it sorted out.

RC
rcman is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:17.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08731 seconds with 15 queries