CPCWiki forum

General Category => Programming => Topic started by: ComSoft6128 on 17:28, 04 November 19

Title: BINTOHEX.BAS (1991)
Post by: ComSoft6128 on 17: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 (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.
Title: Re: BINTOHEX.BAS
Post by: keith56 on 00: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
Title: Re: BINTOHEX.BAS (1991)
Post by: robcfg on 08: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.
Title: Re: BINTOHEX.BAS (1991)
Post by: ComSoft6128 on 17:10, 05 November 19

Thanks for the replies.

Quote from: robcfg on 08: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.

For anyone interested:
http://speedcrunch.org/# (http://speedcrunch.org/#)
Title: Re: BINTOHEX.BAS (1991)
Post by: mr.freeze on 18:40, 05 November 19
That reminds me those programs that were used to encode hexadecimal listings from magazines like Amsaisie (http://download.abandonware.org/magazines/Am%20Mag/ammag_numero31/Am%20Mag%20031%20-%20Page%20066%20%281988-02%29.jpg) from Amstrad Magazine and Micro Mag. I remember encoding the game Zone 2 (http://download.abandonware.org/magazines/Micro%20Mag/micromag_numero07/Micro%20Mag%207%20page%20%200152.jpg) with it. What a time to be alive :-)
Title: Re: BINTOHEX.BAS (1991)
Post by: AMSDOS on 10: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!  >:(
Powered by SMFPacks Menu Editor Mod