fromGoogleCode / vector06cc

Automatically exported from code.google.com/p/vector06cc
Other
0 stars 0 forks source link

SkyNet hangs during title sequence #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After big words saying "PRESENTS SPECIAL FOR DEMOSFAN", before the big
banner picture must appear, the demo hangs into permanent black screen. The
CPU may be left in indefinite state, often running obscure pieces in high
memory area.

Original issue reported on code.google.com by svof...@gmail.com on 13 Jan 2008 at 1:09

GoogleCodeExporter commented 9 years ago
Changing nonexistent inputs to $ff fixed the title, but now it hangs before 
entering
"KIROV" flying letters display.

Original comment by svof...@gmail.com on 14 Jan 2008 at 1:19

GoogleCodeExporter commented 9 years ago
Changing screen refresh rate let it pass past the KIROV part.

Now it dies at the very end of the Photos part.

Original comment by svof...@gmail.com on 17 Jan 2008 at 6:28

GoogleCodeExporter commented 9 years ago
This demo seems to be extremely sensitive to interrupt timing. A single cpu_ce 
clock 
change in retrace delay circuit may cause stuck sounds during part changes and 
most 
spectacular results during the final photo display. Can't decide what to do 
about it 
because it seems that all possible delay values were tried, no avail.

It is still possible that the problem lies in the way T80 handles interrupts. 
The 
code in SkyNet makes narrow passes between running in mapped and non-mapped 
areas. 
Interrupts also tend to happen during normal code execution and not on HLT as 
it is 
often the case in time-critical apps.

Original comment by svof...@gmail.com on 7 Feb 2008 at 10:24

GoogleCodeExporter commented 9 years ago
See revision 329. Correcting all stack-related instructions fixed it (early
implementation only generated STACK on push/pop instructions, now it's call/call
cc/ret/ret cc/rst/xthl too)

Original comment by svof...@gmail.com on 27 Aug 2008 at 9:56