LCD-Smartie / LCDSmartie

The New Official LCD Smartie Repository (LCD Smartie Lazarus port)
GNU General Public License v2.0
33 stars 5 forks source link

Long time user of original LCD Smartie #11

Open Gman-TX opened 1 year ago

Gman-TX commented 1 year ago

Hello. Had the original working on Windows 10 PC - much to my surprise - with only an error reporting the screen resolution. Somehow, updating to windows 11 destroyed all functionality. After mucg searching, came across your forked version. It booted up fine displaying information on my desktop. When I change this to the 16x2 HD44780 or hd44780p, there's no display on the LCD or on my desktop...only an error message. Was wondering if you had any suggestions as to what might be causing this? Appreciate your assistance. Screenshot 2023-05-29 135614 more specifically, it gives me this message: Screenshot 2023-05-29 142909

stokie-ant commented 1 year ago

Visit https://www.highrez.co.uk/Downloads/InpOut32/ In the downloads section, you want "Binaries only - x86 & x64 DLLs and libs" In that archive there's win32 or x64 depending on LCDSmartie architecture For 32 bit take the inpout32.dll and place it in the LCDSmartie folder For 64 bit take the inpoutx64.dll, place it in the LCDSmartie folder and rename it to inpout32.dll You might have to initially run LCDSmartie as administrator to install the driver

Let me know if this works for you and I'll include the dll with future releases

Gman-TX commented 1 year ago

Good news is that the error message went away, but no display on the parallel port card. I’ll continue to play around with it. Tried unplugging parallel cable and rebooting multiple times. As mentioned, I was able to get the original pre-fork version running on Win10, but Win 11 broke something it seems. Gotta love windows upgrades and updates. Thank you.

I unzipped your file, renamed the folder LCDsmartie and stuck it under C:\Program Files\LCDSmartie. Other than adding and renaming the 64 bit file to inpout32.dll, is there anything else I should do? I simply click on the LCDSmartie app and it comes up. Is there anything else that needs to be run or configured outside of the app settings? And again, appreciate the assistance.

BTW, have tried both plugins. the “original”: @. and the newly added : @.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Monday, May 29, 2023 3:58 PM To: @.> Cc: @.>; @.> Subject: Re: [stokie-ant/lcdsmartie-laz] Long time user of original LCD Smartie (Issue #11)

Visit https://www.highrez.co.uk/Downloads/InpOut32/ In the downloads section, you want "Binaries only - x86 & x64 DLLs and libs" In that archive there's win32 or x64 depending on LCDSmartie architecture For 32 bit take the inpout32.dll and place it in the LCDSmartie folder For 64 bit take the inpoutx64.dll, place it in the LCDSmartie folder and rename it to inpout32.dll You might have to initially run LCDSmartie as administrator to install the driver

Let me know if this works for you and I'll include the dll with future releases

— Reply to this email directly, view it on GitHubhttps://github.com/stokie-ant/lcdsmartie-laz/issues/11#issuecomment-1567508500, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADDHTJBTF6B5IIZGHOCUEJLXIUEVZANCNFSM6AAAAAAYTDJW44. You are receiving this because you authored the thread.Message ID: @.***>

stokie-ant commented 1 year ago

Leave this with me. Luckily my new motherboard has a parallel header, I'll have to figure something out with jumper wires and I have a spare 16x2 display around here somewhere

stokie-ant commented 1 year ago

Using HD44780.dll is working fine with my setup DSC_0219

HD44780P.dll doesn't seem to work though.

Parallel is set to std printer mode 230531222220

Do you get the blocks before LCDSmartie starts? DSC_0220

Gman-TX commented 1 year ago

Just ordered a new LPT PCIe card for my desktop as there’s no mention of Win 11 compatibility – though it worked with Win10 – and appeared to be found in Win 11. Much simpler issue. As you mentioned, I need to use the oler non-P driver and the interface isn’t LPT1 or LPT3, but rather the beginning of the address range preceded by the $. Once I changed that things moved in the right direction. I still have weird behavior. Screen res reports incorrectly, the bar graph for drive usage no longer displays the correct character, and other items don’t function yet. I also need to figure out how the LHM interfaces with LCD Smartie to provide info, but I’ll get there. Appreciate your assistance greatly.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Wednesday, May 31, 2023 4:36 PM To: @.> Cc: @.>; @.> Subject: Re: [stokie-ant/lcdsmartie-laz] Long time user of original LCD Smartie (Issue #11)

Using HD44780.dll is working fine with my setup [DSC_0219]https://user-images.githubusercontent.com/58473635/242416236-866c188c-3c9c-489b-89f2-8dc6eff4ef9b.JPG

HD44780P.dll doesn't seem to work though.

Parallel is set to std printer mode [230531222220]https://user-images.githubusercontent.com/58473635/242416271-1221e7d3-9b45-4789-85e5-1d3452d55306.jpg

Do you get the blocks before LCDSmartie starts? [DSC_0220]https://user-images.githubusercontent.com/58473635/242417906-37c564db-c290-4830-a602-3ef1d684ac37.JPG

— Reply to this email directly, view it on GitHubhttps://github.com/stokie-ant/lcdsmartie-laz/issues/11#issuecomment-1570996198, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADDHTJGXI436YQHPN7646YTXI62XDANCNFSM6AAAAAAYTDJW44. You are receiving this because you authored the thread.Message ID: @.***>

stokie-ant commented 1 year ago

Yes the lpt# is coded in if (Addr = 'LPT1') then PortAddr := $378 else if (Addr = 'LPT2') then PortAddr := $3BC else if (Addr = 'LPT3') then PortAddr := $278 else PortAddr := StrToInt(Addr); So this will cause issues with add in ports. I'll have a look at the screen res and see what's up there. I'll also look at the bar graph but I might need more information on that one

stokie-ant commented 1 year ago

I can't see an issue with screen resolution or bar. Can you send the line that causes the issue?

Gman-TX commented 1 year ago

Sorry for the long delay. Attached is the file on the screen res. Screenshot 2023-07-23 033605 Also, including screenshot of bar graph display - "?" instead of blocks. Screenshot 2023-07-23 034337

stokie-ant commented 1 year ago

Is this a multi monitor setup or are you using AMD virtual super resolution or anything like that? Taking a quick look the code for resolution is in need of an update for multiple monitors. But when I enable virtual super resolution I get all sorts of different resolutions reported depending on the software used

For the bars, on the virtual display you need to have Emulate LCD turned on to display the full block and custom characters. Don't worry about (more CPU intensive) that was from the days of single core sub GHz CPU's. If its showing ? on a physical LCD That means the character at 255 is being translated weirdly or most unlikely the character at 255 on your display is a ?

Gman-TX commented 1 year ago

BTW, I'm on version 5.5.36. No multi-monitor on this pc; just a Vizio 4K TV. While not a gamer, I've installed the Radeon Adrenaline software; given the GPU is an AMD, I've convinced myself it's probably going to be more stable tand get more love than Microsoft's generic drive. I can uninstall to see if it makes a difference on screen resolution reporting. I tried emulate LCD and did not correct the display of "?" in place of blocks.

stokie-ant commented 1 year ago

Ok, one other thing to try. Change the display driver to desktop.dll and see if the blocks are shown on that. It uses the same font bitmap as the virtual display. So if that shows the block then it narrows down where I should be looking.

I've made a simple app to get the screen res there's two versions. can you see if any of them give sane numbers resthing.zip