New demo uploaded: Blinkenlights

All aspects of programming on the Commander X16.
Post Reply
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »




Blinkenlights




View File






A simple file that graphically shows the values of several registers in the X16 which change regularly -- for example, the top of the accumulator stack, and some of the I/O registers.

It's an attempt to replicate the "blinking lights" of systems that used to use big ol' LEDs to represent register contents, alarm bars, and whatnot.

The C source is here: https://github.com/bobbyjim/x16-blinkenlights

 






  • Submitter



    rje




  • Submitted


    08/16/21




  • Category







 
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


The display looks kind of Tetris-y right now.  I'd like it to look less like Tetris, and more like a bank of LEDs.

Any ideas?

 

User avatar
Cyber
Posts: 482
Joined: Mon Apr 27, 2020 7:36 am

New demo uploaded: Blinkenlights

Post by Cyber »

Can you show example of LED bank you are talking about?
TomXP411
Posts: 1785
Joined: Tue May 19, 2020 8:49 pm

New demo uploaded: Blinkenlights

Post by TomXP411 »



2 hours ago, Cyber said:




Can you show example of LED bank you are talking about?



I imagine this...

Arduino Altair 8800 Simulator - Arduino Project Hub

or this

IMSAI 8080 replica

or this

PDP-11/70 Retrocomputing Build - Planet Geek!

TomXP411
Posts: 1785
Joined: Tue May 19, 2020 8:49 pm

New demo uploaded: Blinkenlights

Post by TomXP411 »



3 hours ago, rje said:




The display looks kind of Tetris-y right now.  I'd like it to look less like Tetris, and more like a bank of LEDs.



Any ideas?



 



Try the circle character (shift Q), and use bright/dark versions of colors. (You'll probably have to modify the palette a bit.) 



  

image.png.08c7221f95c772c9efe58506a2ec29df.png

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


Yep, I was seeing the PDP-8 in my head.  I'll try circles.

I'm also wondering if there's additional semi-useless information that might be nice to see on this kind of eye-candy display.

Maybe I can also draw some nice PETSCII beveled lines to break up the space into logical areas.  Yeah, I'll try that too.

 

 

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


Here's a concept for the second iteration.  I'll try other colors as well, but red circles look very LED like, and the dark gray emulates "off" nicely.

1171672190_ScreenShot2021-08-17at1_01_44PM.png.937e1663c9ebffc2aafc43b9c3c8694d.png

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


Looking for more useless info to display.  Currently showing:


  • localtime


  • VIA #1 registers ($9f66 and $9f67 don't have any activity)


  • stack ($01d6 thru $01e5).


I suppose I could grab the registers.

 

Screen Shot 2021-08-17 at 2.39.12 PM.png

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


OK, merged the changes, and updated the Downloads entry.

 

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New demo uploaded: Blinkenlights

Post by rje »


I added in a keyboard scan.

I also included the i/o status byte, because I had room for it.

 

Post Reply