Post Reply 
How translate code in .raw ?
03-10-2020, 10:36 AM
Post: #1
How translate code in .raw ?
At Angel Martin and others experts in HP41.

Hello Sir,

As expert in HP41 you are, May I ask you a help ?
Well I have some binary or hexadecimal codes that I would like translate in .raw file for my V41 emulator, but I don't know to do this. Is existing program to do this translations ?
If I know the method, I can translate you see ?
Accept-you help me ? Thank in advance.

Gérard GAUNY.

The code I would like is : (a part of Julian Perry, Rubiks cube in 1982.)

01BBC000F20058133132331C193485C000F200591631325433
3485C000F2005A19311C1332333485C000F200540168678576
691B12423A71907311920E4113437190F2401640AEF32A970F
B100A8159F067E11123F872AB10008F37F442C13B20009F37F
443A12B2000AF27F4411029010CE13CE12CE11CE10CE18CE1B
CE1ACE199118719773B200850BF37F462C13B3000CF37F463A
12B3000DF27F461103689010CE11CE15CE1491109018CE1DCE
20CE1C9118119310921193159214921C9218769773B300850E
F37F4C2C13B4000FF37F4C3A12B400CF0FF27F4C1104689011
CE12CE16CE1591119019CE1ECE21CE1D911911931192129316
9215921D9219769773B40085CF10F37F422C13B500CF11F37F
423A12B500CF12F27F421105689012CE13CE17CE169112901A
CE1FCE22CE1E911A119312921393179216921E921A769773B5
0085CF13F37F522C13B600CF14F37F523A12B600CF15F27F52
1106689013CE10CE14CE179113901BCE1CCE23CE1F911B1193
13921093149217921F921B769773B60085CF16F37F552C13B7
00CF17F37F553A12B700CF18F27F5511079014CE15CE16CE17
CE14CE20CE21CE22CE239120719773B700C0000DBC

Gérard.
Find all posts by this user
Quote this message in a reply
03-10-2020, 11:23 AM
Post: #2
RE: How translate code in .raw ?
The xxd program will do what you are looking for; it can create hex dumps of binary data, and also do the reverse:

Code:
$ xxd -r -p > foo.raw << EOF
(paste your hex data)
EOF

On Linux and MacOS, this is standard equipment; on Windows, you may need Cygwin, or build it from source.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-10-2020, 01:15 PM
Post: #3
RE: How translate code in .raw ?
You can also use the following on-line translator that will create a binary file from you hexadecimal strings: Hexadecimal -> file (binary)

Copy/paste the hexadecimal code to the Hex string input form, choose a file name ending in .raw, click on convert and save the result file. That’s all.
Find all posts by this user
Quote this message in a reply
03-11-2020, 07:05 AM (This post was last modified: 03-11-2020 07:07 AM by Ángel Martin.)
Post: #4
RE: How translate code in .raw ?
The RUBIKS module including Julian Perry's programs is available at TOS and in the CL Library; the FOCAL programs can be printed or even COPYed from the ROM.

I still use Leo Duran's "UserCode" utilities for my TEXT <-> RAW conversions, it may be useful to you as well.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
03-11-2020, 08:17 AM
Post: #5
RE: How translate code in .raw ?
Hi at you,

Many thank you for you help !
I'am going to try.

Gérard.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 4 Guest(s)