|
Register or have you forgotten your password?
|
|
|
| General chat about Amiga topics This forum is for conversations which are specifically "Amiga" related, but don't fit into other categories. Contents of this forum do appear on the main page, unlike Talk About. If a subject appears to be non-related, it will be moved to Talk About. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Technoid
![]()
Join Date: Mar 2002
Location: Rennes, France
Posts: 207
|
Hi everyone !
I plan to write a piece of software which makes use of a MIDI interface on an A1200. Is it possible to access such a device (RS232 port then) from a Blitz Basic program in BLITZ mode ? Cheers ! |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Master Sock Abuser
|
Yeah, a quick look at the Hardware Reference Manual will tell you the address of the Serial Port registers, then hook up some code on the serial interrupts and send your MIDI commands! Simple... There is also probably library that can do all the hard work for you
__________________
My iPhone Game: Puny Humans - http://itunes.apple.com/gb/app/puny-...362230281?mt=8 |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Technoid
![]()
Join Date: Mar 2002
Location: Rennes, France
Posts: 207
|
Cool, thanks for the prompt reply
Not installed / used / read the manuals yet, I just had a doubt as I heard the BLITZ mode (and not the AMIGA mode) had restrictions regarding I/Os. But indeed, I guess I can have access to the registers directly !
Last edited by mahen; 12-14-2011 at 08:42 PM.. |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Alien Breeder
|
Whatcha makin?
__________________
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs |
||||||||
|
|
|
|
|
#5 | ||||||||
|
Technoid
![]()
Join Date: Mar 2002
Location: Rennes, France
Posts: 207
|
I have some crazy ideas, but I'll let you know once I have some kind of "working proof of concept" ;-)
|
||||||||
|
|
|
|
|
#6 | ||||||||
|
Master Sock Abuser
|
Blitz allows full access to the hardware, and once you are in Blitz Mode you have the machine to yourself! You can do anything you like.
Midi is super simple and the Amiga Serial port only needs a simple adaptor to interface with it
__________________
My iPhone Game: Puny Humans - http://itunes.apple.com/gb/app/puny-...362230281?mt=8 |
||||||||
|
|
|
|
|
#7 | ||||||||
|
Cult Member
![]()
|
Do you have to be in Blitz mode? Accessing the serial port in a system-legal way in Amiga mode is very easy, and AFAIR there's even a specific MIDI .include file to take care of the MIDI stuff for you.
But, as bloodline says, in Blitz mode you have full access to all the hardware, simply peek and poke the CIAs to your heart's content The Blitz manual even includes a table of all the registers and their functions...
|
||||||||
|
|
|
|
|
#8 | ||||||||
|
Technoid
![]()
Join Date: Mar 2002
Location: Rennes, France
Posts: 207
|
Thanks again for the answers. Yeah, I would like to make to best possible use of the Amiga hardware, so I'll stick to BLITZ mode if possible ! I wonder how far one can go without switching to ASM...
Is there some kind of website / mailing list / NG still active nowadays about Amiga development or even Blitz in particular ? |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| blitzbasic , interface , midi |
| Thread Tools | |
| Display Modes | |
|
|