English Amiga Board Amiga Lore

Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

Thread Tools
Old Today, 02:24   #241

haps's Avatar
Join Date: Aug 2006
Location: The bottom of the bottle
Age: 1
Posts: 137
Originally Posted by emufan View Post
$  cat disk.rom | hexdump -v -e '16/1   "x%02X," "\n"' | \
sed -e s/x/\\\\x/g | sed -e s/","//g | sed -e s/$/\"/g |  sed -e s/^/\"/g
You sure like abusing the poor little cat!

Hexdump will quite happily take a file as an arg.

hexdump -v -e '16/1   "x%02X," "\n"' disk.rom
haps is offline  
AdSense AdSense  
Old Today, 14:31   #242
Apollo Supporter

Marlon_'s Avatar
Join Date: Mar 2016
Location: Sundsvall, Sweden
Age: 28
Posts: 157
Send a message via Skype™ to Marlon_
Emufan, if you're running Win 10 it's probably easier to use the Linux subsystem than running cygwin.
Marlon_ is offline  
AdSense AdSense  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting an Amiga game to PC CYBER_SLUNK Coders. General 4 31 January 2017 19:14
Porting Photoshop to Amiga KONEY Coders. General 25 29 December 2016 23:49
Porting PhotoChrome ST/e to Amiga. pandy71 request.Other 0 09 February 2015 15:12
Porting SDL2 to Amiga copse request.Other 0 17 April 2014 22:56
Porting Qt Framework to Amiga OS enviroments Pyromania Coders. General 2 24 July 2013 06:42

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 23:12.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.10238 seconds with 14 queries