Skip to content

Commit

Permalink
add ACPTR debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Aug 13, 2024
1 parent 5396271 commit b9994c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tools/iecwaveform.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,11 @@ int getUpdate(void)
case 0xAD34: fprintf(stderr,"$%04X 1581: DELAY2 Cycle delay\n",pc); break;
case 0xAD3C: fprintf(stderr,"$%04X 1581: UICMD \"UI\" command bus mode command 1541/1540 speed\n",pc); break;
case 0xAD5C: fprintf(stderr,"$%04X 1581: TALK Serial bus talk routine\n",pc); break;
case 0xAE42: fprintf(stderr,"$%04X 1581: ACPTR (Serial bus receive byte)\n",pc); break;
case 0xAE42: fprintf(stderr,"$%04X 1581: ACPTR (Serial bus receive byte)\n",pc); bit_num=0; break;
case 0xAE99: fprintf(stderr,"$%04X 1581: ACPTR: received C128 FAST byte\n",pc); break;
case 0xAEA2: fprintf(stderr,"$%04X 1581: ACPTR: Sampled bit %d of serial bus byte\n",pc,bit_num++); break;
case 0xEAB5: fprintf(stderr,"$%04X 1581: ACPTR: Returning data byte stored in $54\n",pc); break;

case 0xAEB8: fprintf(stderr,"$%04X 1581: LISTEN Serial bus listen routine\n",pc); break;
case 0xAED9: fprintf(stderr,"$%04X 1581: RESETBUS Reset bus control register and wait for next command\n",pc); break;
case 0xAEEA: fprintf(stderr,"$%04X 1581: SETSERIAL Setup fast serial direction as input or output (carry set = SPOUT, carry clear = SPINP)\n",pc); break;
Expand Down

0 comments on commit b9994c3

Please sign in to comment.