Hackaday in Belgrade 2018 was from a point of a visitor great success and great value. Every registered visitor received Badge, that was actually complete retro computer. Conference program was good. Hardware was created Voja Antonic and Software was written by Jaromir Sukuba (hackaday basic, cpm emulation) with some Eastern Eggs with music written by Mike Szczys. (type “mario” and “hackaday” in device)
As I attended to FPGA Workshop I got another Badge “FPGA 101 Badge” with UpDuino. Good workshop, but I hope next Hackaday in Belgrade would have workshop on second day or at least not on same time as talks.
Lets get back to hackaday retro badge. As someone who was lucky enough to learn basic, assembler, pascal and worked on CPM on 8 bit computer I like it very much. I’ve played first with CPM, tried dir,dirs,stat command, checked and checked all drives. Found Sargon (text chess) and played chess, while waiting to let us on conference.
Tetris was next, of course, to bad that you can not play it in both modes portrait and landscape and arrow down was not working as expected.
But Hackaday Basic reminded me even if you do not know the device you can write code and interpreter will run it on any device. Initial Basic example in device and small booklet with commands did help and I started to code in BASIC, to discover some features (read bugs).
Badge Hackaday Basic Bugs:
- clrscr will clean up screen and if you print something to screen and shut of termina (termt) you will never see it. Workaround is to wait 250~1000, so screen redrawn will be eventually be executed.
- Because of screen redrawn, in order to create sprites you need to insert waits (more music) but you get painfully slow movement.
- can not delete line by entering number and pressing enter, but you can enter number and rem(ark) ie 70 rem
- If you type just “40 REM” without any “remark”, next LINE with command will not be executed
- Sometimes deleting line with number and enter works, but do not play with this you may kill your program with this. It will not run any more!
- print “a little boulderdash music” restart device (probably fixed in 1.03)
- the last may be related to subroutines as with goto this did not happen after a while badge just hangs.(only one gosub/return, not nested, so no big stack use)
- hidden snake game also have a feature(bug), if an apple shows on snake it will disappear so you will hunt for an invisible apple.
- some sort of read key,that is not input type. (probably fixed 1.03)
- setserial speed command in basic.
- and hence shortcut for “serial port speed setup” keyboard on FPGA Galaksija is nice 🙂 (fixed with firmware update)
- play Tetris in both modes portrait and landscape and fix down key
- builtin music player for kids (every key different sound)
List of Badge easter eggs:
sudo,42,”not a hack”,man,solo, xyzzy, hal, hackaday, mario,help,
and for hidden snake game UUDDLRLRba
Bottom line, Hackaday Badge is excellent retro computer, that can do so much more,even with those bugs I would buy it. And I would not be surprised if we will see more interesting things on it.
source:Badge github source
manual:Badge manual inc Basic Syntax and Examples
links:Hackaday Belgrade 2018