Quote:
Originally Posted by damon_sisk
Just noticed some problems with my interpretation of the ASM code. According to
http://www.fortunaty.net/text/textfi...A/mapamiga.txt
the register at $BFD000 has bits for both the parallel port and the serial port. Bit 2 is pin 13 of the parallel port, but bit 4 and 7 are pins 5 and 20 of the serial port! Now I am really confused about how Loriciel is doing it.
Does anyone know how the amiga version of Loriciel's gun plugs into the amiga?
|
I'am no sure for the port
but I don"t understand the usage of all the (
btst #2,$bfd000) perhaps just used for a synchro....
for trojan phaser only
2 registers are needed:
bits 1 of
$dff00c or $dff00a to test if trigger is pressed on port 1 or 0
and
$dff006 to take the position of the screen spot 'see' by phaser want you press trigger.
In resume:
Trojan phaser (for Aliex game)
btst #1,$dff00c or $dff00a : Trigger pressed?
$dff006 : to take V & H position of screen's pot seen by phaser when trigger is pressed ($
dff004 .w for 'h8 bits' not used =>only 160 lines for Aliex )
Loriciel phaser
btst #4,$bfd000: Trigger pressed?
$dff006.w & $dff004.w : to take V & H position of screen's pot too (200 vertical lines so $dff004 is used for bits 'H8')
I'am just finishing a trojan drivers (I use whdload for test):
http://download.abime.net/zone/TrojanTest.lha
Can you test it with your trojan adaptator?
(you must just launch 'TrojanTest.slave' via whdload or click on icon)
First press 'C' to calibrate (8 shoot needed)
and try to shootte screen a yellow point must appear at the target
press 'E' to clear screen '*' to quit
now I try to add trojan phaser support in crasy shoot & westphaser
bye