ECE-492-SnakesAndAdders / python-interpreter

C3Python is an entirely custom-made Python interpreter designed to run on proprietary hardware.
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

BUG: Command prompt no longer prints #3

Closed ijoffe closed 7 months ago

ijoffe commented 8 months ago

There is a line of code (xpd_puts(">>> ");) that is being executed with no output so the shell is not prompting the user properly for command with >>>.

This line was being printed correctly at one point, but I'm not sure when exactly this line stopped being printed.

The code around it is being executed because reading input works, so I have no clue what the issue is (although I suspect this is a problem with the XPD driver).

ijoffe commented 7 months ago

I am 99% sure this is a problem with the XPD.h driver. After adding random print statements in places, it prints sometimes. I'm not sure how to fix.

ijoffe commented 7 months ago

Resolving because we have deduced that it is just bad behavior on the part of the driver