Author Topic: BINTOHEX.BAS (1991)  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Online ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.257
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1317
  • Likes Given: 2718
BINTOHEX.BAS (1991)
« on: 18:28, 04 November 19 »
I found this small program on a disk at the weekend.
Not being a programmer means that unable to assess how useful this would have been.

A practical program for day to day use?
Or just an interesting curiosity?


https://www.youtube.com/watch?v=MMsYF43Hn0E

Not emulated - original hardware and software.
Please note that the aspect ratio for this YouTube video is 16:9 but the CPC monitor has
an aspect ratio of 4:3 so you may wish to adjust your viewing device accordingly.
« Last Edit: 07:55, 05 November 19 by ComSoft6128 »

Offline keith56

  • ちび悪魔!
  • Supporter
  • 6128 Plus
  • *
  • Posts: 550
  • Country: jp
  • Part Ma, Part Aku... All Chibi!
    • Chibi Akuma(s)
  • Liked: 898
  • Likes Given: 206
Re: BINTOHEX.BAS
« Reply #1 on: 01:13, 05 November 19 »
Programs like this are handy if you're learning programming and need a visual way of working out how Bin/Hex are related... though the windows Calculator is easier for most purposes.

I wrote a program a while back that does Bin/Dec/Hex and allows for various alterations to the values to be shown realtime... though these days I guess I should improve it to add octal support.


https://www.youtube.com/watch?v=coKLkFmx3eI
Chibi Akumas: Comedy-Horror 8-bit Bullet Hell shooter!
Learn to program Assembly with my Text+Videos Tutorials for Z80, 6502, 68000
My Livestreaming Channel: ChibiAkimas Live

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.235
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 992
  • Likes Given: 2275
Re: BINTOHEX.BAS (1991)
« Reply #2 on: 09:26, 05 November 19 »
I use a program named SpeedCrunch which is quite nice for a lot of things, and incredibly useful for converting numbers between bases.

Online ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.257
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1317
  • Likes Given: 2718
Re: BINTOHEX.BAS (1991)
« Reply #3 on: 18:10, 05 November 19 »

Thanks for the replies.

I use a program named SpeedCrunch which is quite nice for a lot of things, and incredibly useful for converting numbers between bases.

For anyone interested:
http://speedcrunch.org/#

Offline mr.freeze

  • CPC464
  • **
  • Posts: 13
  • Country: be
  • Liked: 10
  • Likes Given: 6
Re: BINTOHEX.BAS (1991)
« Reply #4 on: 19:40, 05 November 19 »
That reminds me those programs that were used to encode hexadecimal listings from magazines like Amsaisie from Amstrad Magazine and Micro Mag. I remember encoding the game Zone 2 with it. What a time to be alive :-)

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.718
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 952
  • Likes Given: 1676
Re: BINTOHEX.BAS (1991)
« Reply #5 on: 11:31, 08 November 19 »
I like the idea of entering the Binary Number, though I would love it even more if it took the Binary Number and Poke it into Memory and allow for storage for a Maze Style game. I was trying to do that with this code the other day, but wasn't producing the correct results when I was trying to calculate the High and Low Bytes from a 16bit Binary Number, grrr!  >:(
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3