T.R | Title | User | Personal Name | Date | Lines |
---|
1553.1 | Limitations of an Interpreter | ULTRA::KINDEL | Bill Kindel @ BXB1 | Thu Jul 21 1988 14:26 | 5 |
| It may be that BASIC is restricted to baud rates <= 19.2k because it
can't keep up at higher speeds. BASIC interpreters execute a whole lot
(think HUNDREDS) of machine instructions for each BASIC statement.
Compiled BASIC (or any other language) would reduce this by at least an
order of magnitude.
|
1553.2 | what!no DE RE AMIGA ? | MERIDN::ROSCETTI | A horse that knows arithmetic | Fri Jul 22 1988 13:23 | 48 |
|
Swag...
RE .0
A couple of possibilities...
1. instead of using COM1: use SER: - according to the sparse
documentation SER: doesn't allow you to specify Baud rate
so I assume it uses whatever is in preferences. Since SER:
is technically a Printer device you may have to set up for
a serial printer.
2. I don't have the documentation but is it possible to
Poke the baud rate into the Uart after the Open?
Uart is internal to the Paula chip.
Re .1
I wouldn't think that Basic's Speed would be a direct limiting factor
on Baud rate. - the par/ser conversion is strictly a function of the uart
Basic's speed will more likely affect throughput... ex can't send a stream
of 32nd notes at temp >120. On the recieve side you might expect something
on the order of data overruns. Does anyone know if the I/O is buffered
in memory?
Perhaps COM1: only supports up 19.2 because that is the upper limit
for "standard" term/modem type interfaces.
I'm just beginning to realize how little documention I have. The two
books that came with the 500 don't begin to tell me what I need to know.
brien
PS. .0
> Last night I built the last adapter from MIDI socket to MIDI socket and
> hooked it all up.
does this mean you built your own MIDI interface ?
|
1553.3 | I've basicall given up | ANT::JANZEN | Tom 296-5421 LMO2/O23 | Fri Jul 22 1988 13:34 | 8 |
| I just had to build the null modem cable and a midi plug to plug
cable in order to hook it all up.
This project was only for sysex dumps, which have not been well
supported in commercial software.
SER: was a disaster. I could try it again.
It's also possible to try to call library routines or use assembler,
in terms of my resources, but could be difficult.
TOm
|
1553.4 | what a mess | ANT::JANZEN | Tom 296-5421 LMO2/O23 | Sun Aug 14 1988 02:15 | 11 |
| Hi
I've been studying again. I've been reading serial.i c include
file about the serial.device, serial.device
and other things. I think I could
call the right system library routines to deal with midi from
BASIC, but it's getting too complicated.
I don't know c either, so it's hard to read sometimes.
Please let me know if you have used any libraries from Amiga BASIC.
Although I'm giving up again. is DRAW routine faster for drawing
lines than the BASIC linedrawing routine?
Tom
|
1553.5 | better late than never - sometimes | MERIDN::ROSCETTI | Some things u never get used to | Tue Nov 15 1988 02:39 | 20 |
|
Tom,
It's probably too late for what you wanted .. BUT...
FF disk 101 ( available on TAPE::user1:[amiga]) has a set of
Midi Library calls, useable from Basic, C, etc. The December
Issue of Electronic musician describes it and give a sample
program in BASIC , of a CZ101 patch librarian, xfer of SYSEX data
etc.
Now you can hack up anything you want...
brien
Ps - they also get around to reviewing SYNTHIA in this issue
|
1553.6 | How to set Midi Baud rate from AmigaBASIC | FORTY2::TATHAM | Nick Tatham @REO | Tue Feb 07 1989 06:21 | 39
|