LCD Screen Manipulation: How to... #530
Replies: 1 comment 1 reply
-
Hi @laserguidedcake, Guess I will start by trying to answer your specific questions...
There is an LCD Driver that is enabled in RomWBW to manage the contents of the LCD that you are seeing. The source code for this driver is in the distribution in the file Source/HBIOS/lcd.asm. During the system boot process, the driver puts some static data on the LCD screen. After that, there are "hooks" in RomWBW that post events such as disk read and write. When those events fire, the LCD driver is notified and updates the screen. RomWBW does not provide a generic API for writing to the LCD that an application might use. However, I think you will see that modifying the lcd.asm source is not too hard. Note that with the RomWBW driver enabled, it will be writing to the LCD when it receives notification events. If you create an application that writes to the screen, then RomWBW is likely to come along and wipe out what you have done. So, if you want to "take over" the display, you should disable the RomWBW LCD driver.
In the case of RomWBW itself, the lcd.asm driver is doing all of the writing to the display. I'm not sure what others are doing.
I suppose this would be possible, but with some challenges:
I can think of 3 approaches off the top of my head.
In all cases you need to think through how to avoid collisions between existing RomWBW LCD activity and the clock display. I expect these answers will just help you get a footing and you will have more questions. If so, just ask. Thanks, Wayne |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just got my 4-row LCD screen up and running with RomWBW 3.5.0 - looks amazing!
Was looking for some discussion on some of the capability of the LCD module:
When it boots, I see some cool stats on the panel - where is this controlled/modified?
What is everyone using to write to this display?
Can we use this display as a console? How?
Whats the easiest way to get a clock to display?
My front panel on boot:

Front panel after loading CP/M:

My console showing the module:
Looking forward to seeing what people are up to!
Beta Was this translation helpful? Give feedback.
All reactions