Commit f0f8a4f8 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Report FOSSIL port status

parent 13648112
Pipeline #3052 passed with stage
in 9 minutes and 50 seconds
......@@ -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...");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment