Skip to content
Snippets Groups Projects
Commit f0f8a4f8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Report FOSSIL port status

parent 13648112
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3052 passed
......@@ -76,6 +76,10 @@ void main(int argc, char** argv)
,fossil_data_bits[(info.baud_rate&FOSSIL_DATA_BITS_MASK)>>FOSSIL_DATA_BITS_SHIFT]
,fossil_stop_bits[(info.baud_rate&FOSSIL_STOP_BITS_MASK)>>FOSSIL_STOP_BITS_SHIFT]
);
regs.h.ah = FOSSIL_FUNC_GET_STATUS;
int86x(FOSSIL_INTERRUPT, &regs, &regs, &sregs);
printf("STATUS=0x%04X (%u)\n",regs.x.ax,regs.x.ax);
if(argc>1 && stricmp(argv[1],"pause")==0) {
printf("\nHit enter to continue...");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment