Hi Calc
Hi Calc
Publisher: CodeWorks - CursorGenre: [uncategorized]
Programmer: Glen Fisher
Year: 1971
Uploaded by: admin
Language: English
Downloads: 63
Download
Download
We do not own the rights to any of the software
The keyboard graphic responds to mouse clicks, touch events, and key presses.
Hold your shift key while clicking the PET keyboard to get the graphics
characters.
(The emulator simulates pressing the PET's left shift-key at the
same time as the clicked key.)
Changing the size of memory or changing the ROM version forces a reset of the PET.
The emulator has an IEEE-488 device at address 8. It can be used load and save (.prg) files.
Some programs don't run on ROM1 and some require more memory than the default 8K.
Game Notes
May include inaccurate AI generated content
HI CALC is a high-precision calculator that can handle 120 significant figures on an 8K PET, and 684 on a 16K PET. I played around with this one for a little while, and I'm impressed. The program streamlines its internal representation of numbers by storing them in "base 1000" (essentially 3-digit chunks). I tried multiplying two reasonably long numbers, equivalent to 2^64 * 2^128 (see screenshot), and verified that the answer was correct with WolframAlpha. The PET came back with this 58-digit answer pretty quickly, too. These days, we have modern tools available for this kind of calculation, but this program's still fun to play around with for a bit. It might even be worth studying how the program is put together for anyone interested in low-level arithmetic algorithms.