fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
275 stars 60 forks source link

New Line/Enter not working in certian situations. #71

Closed smarinel closed 2 years ago

smarinel commented 2 years ago

I have the newest build running on a Pi Zero W/RC2014 using CP/M

I can generally type fine at the CP/M prompt but inside ZDE16 or Zork1 I cannot hit enter to submit a command or go to a new line. I tried messing with the LF/CR options in the config file but nothing was working. Any idea what could be going on here?

chregu82 commented 2 years ago

Every single time I heard about such an issue, it was LF instead of CR or CR instead of LF. Are you sure that your config file is read during boot? Please check your PiGFX boot screen.

smarinel commented 2 years ago

I see an error about the Master Boot Record but no mention of the config file - I suppose it can't actually load the file system? It reads it as a valid SD Card 3. Does this mean I need to maybe try a new format or physical card?

chregu82 commented 2 years ago

It seems that this is the problem. It fails reading the filesystem and because of that it can't read the config file. You should make sure that there is only one partition on the card or try using a different card.

smarinel commented 2 years ago

Thanks for the help. Switching to an older card with lower capacity seems to have worked.

For future folks looking at this - you need to have the config be read and change LF endings to be CR (not LFCR) to get PiGFX working well on an RC2014, at least at the time of writing.

paulwratt commented 2 years ago

@chregu82

What was the sd-card size that failed, and the one that worked?

Also what was the filesystem that failed and worked (it might be related to the size)?