 |
|
 |
| Parallax Forums > Public Forums > Propeller Chip > TriBladeProp PCB: Uses 3 Propeller ICs for a Single Board Computer (SBC) | Forum Quick Jump
|
      |  Dr_Acula Registered Member

       Date Joined Dec 2008 Total Posts : 606 | Posted 9/22/2009 11:49 PM (GMT -8) |   | | | |
                  |  BrainDamage Registered Member
        Date Joined Mar 2009 Total Posts : 3 | Posted 9/29/2009 9:45 PM (GMT -8) |   | In reference to the issue discussed by Dr_Acula et al. on September 16th, the BDS C / WS crashes due to possible opcode issues:
If it helps, here's some info on how CC/CC2/CLINK use Z80-specific ops (and to be quite honest, I cannot even recall if CLINK uses any): There's only ONE Z80-specific opcode that's ever used by the compiler or the libraries, and that's an extended block move operation. There's a subroutine (or two) used to relocate data; it works by first performing an "INR A" (increment A, I believe that was the Intel-style 8080 instruction name but it's been so damn long, lol) and checking the parity bit afterwards; if it's running on an 8080 it's one way, Z80 the other. If it sees 8080, it uses 8080 ops to do the move. Else it uses the Z80 op.
That's IT. So problems with any other Z80 opcodes would not effect BDS C compiler/linker behavior.
Good luck! | | Back to Top | | |
 | 849 posts in this thread. Viewing Page : | | Forum Information | Currently it is Friday, November 20, 2009 11:13 PM (GMT -8) There are a total of 393,738 posts in 55,521 threads. In the last 3 days there were 82 new threads and 702 reply posts. View Active Threads
| | Who's Online | This forum has 17687 registered members. Please welcome our newest member, mark09. 48 Guest(s), 2 Registered Member(s) are currently online. Details BradC, SRLM |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2009 |
|
|