rickf@pnet02.cts.com (Rick Flower) (04/06/89)
I've been working on a program for some time now and the correct answer seems to be evading me completely.. So, here's the problem. I've written a SMALL terminal program in Assembly language and I KNOW the ports are being opened OK with the calls to the Amiga.lib functions _CreatePort and _CreateExtIO. I open the console the same way (_CreatePort & _CreateStdIO instead). Anyway, while in the "main" loop chunk of code where I check for incoming characters from either the serial port OR the console port, the system seems to "ignore" console requests at higher baud rates UNTIL ALL of the serial requests have finished completely.. I can make it do this easily on my A1000 by talking to my modem and typing "AT$" (U.S. Robotics 2400 Courier) and it will spew out a menu of all the commands it knows (a whole screen full). So, while processing the serial requests, I can use the CheckIO function to check the current status of the Console port and it ALWAYS comes back with a zero (I/O imcomplete), UNLESS I'm at 300 or 1200 baud! At 2400 baud, it will wait to process the console I/O AFTER it has finished with the serial I/O first... Does this problem sound at all familiar?? I thought it might be a priority problem with the task, and that didn't fix anything. I also fooled around with port priorities, but that didn't help either.. If you've got ANY ideas, let me know... Thanks in advance.. =============================================================================== I Thought So... UUCP: {ames!elroy, <backbone>}!gryphon!pnet02!rickf INET: rickf@pnet02.cts.com ===============================================================================