URL:
<http://savannah.nongnu.org/bugs/?25875>
Summary: Example stdiodemo not working
Project: Simulavr: an AVR simulator
Submitted by: kschwi
Submitted on: So 15 Mär 2009 16:42:45 GMT
Category: Test Suite
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The example stdiodemo is not working - unclear window usage, handling of
entered data impropper,...
Problem / Solution:
The problem for this behaviour has to do with the way the input in the
TCL-script gui.tcl is handled in the serialTx frame. Each character is moved
from the graphic to the simulator at occurance of the key-pressed event. The
first parameter of the key-pressed event (used in the past) gives the proper
ASCII-value for characters and numbers but a description for special keys like
"Return", "Tab",...
The keyboard handler was modified to handle the entered character properly.
Additionally the SerialRx and SerialTx frames show a descriptive footer.
Open issue:
Currently the character "blank" (0x20) can not be transferred between the
serialTx and the simulation. Entering of a space hangs the simulation.
A diff to gui.tcl 1.4 is attached
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: So 15 Mär 2009 16:42:45 GMT Name: gui.diff Size: 2kB By: kschwi
<http://savannah.nongnu.org/bugs/download.php?file_id=17698>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25875>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel