Here is a first "all-in-one" demo - SD card interface, graphics, text, speech!

Here is the program:
00 F08 # clear registers 01 F20 # display registers 0 and 1 on the LED display 02 50A # enable draw line (x1, y1) - (x2, y2) mode; display (0,0) - (x7F,x1F) 03 000 # send x1 low nibble: 0 04 3F0 # send x1 high nibble: value in register 0 05 000 # send y1 low nibble: 0 06 000 # send y1 high nibble: 0 07 000 # send x2 low nibble: 0 08 3F1 # send x2 high nibble: value in register 1 09 0FF # send y2 low nibble: F 0A 011 # send y2 high nibble: 1 -> x1F (32 4*8 = 32) 0B 520 # add to to register 0 0C 980 # reg 0 = 8? 0D E0F # yes, then goto x0F 0E C02 # no, goto x02 0F 100 # reg 0 = 8: clear register 0 (to 0) 10 521 # add 2 to register 1 11 981 # reg 1 = 8? 12 E14 # yes, then goto x14 13 C02 # no, goto x02 14 50E # register 2 = 8, end of nested reg 0, 1 loop. enable speak echo mode. 15 506 # enable print ASCII char to display with speech echo 16 0DD # send ASCII codes for MICROTRONIC (x4D, x49, x43, ...); M 17 044 18 099 # I 19 044 1A 033 # C 1B 044 1C 022 # R 1D 055 1E 0FF # O 1F 044 20 044 # T 21 055 22 022 # R 23 055 24 0FF # O 25 044 26 0EE # N 27 044 28 099 # I 29 044 2A 033 # C 2B 044 2C 0AA # LF (0x0A) -> speech synth will speak MICROTRONIC 2D 000 2E F00 # end of program, halt
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.