Following on from http://www.ukvac.com/forum/battlezone-vector-generator-prom-replacement_topic356846.html
After giving the same treatment to Asteroids and most colour vector games last night, I tried doing the Star Wars vector PROM. This had just a few bits difference from the Battlezone/Tempest/etc PROM but failed to compile, throwing an excessive product term error in WinCUPL.
After a little trial and error messing with the optimisation options I found that setting Quine-McCluskey and 'Best for polarity' options allowed it to compile without error.
I then ran the simulator and tried a few of the address inputs and they did indeed give the correct output data. I did not try all 256 though!
Neither have I tried it in an actual Star Wars PCB as I don't have one easily available to try. I've burned a GAL ready for next time I do have one to try it on.
But there's a good chance it will work just fine like the other two I did last night, so the JED file is below for anyone to copy try as explained in the Battlezone thread.
Device g22v10 Library DLIB-h-40-1
Created Wed Mar 08 22:50:58 2017
Name SW_AVG_PROM
Partno SW_AVG_PROM
Revision 01
Date 06/03/17
Designer Mitchell Gant (credit to Retroclinic)
Company
Assembly None
Location None
*QP24
*QF5892
*G0
*F0
*L01472 00000000000000000000000011111111
*L01504 11111111111111111111111111111111
*L01536 11111101111111111011101110111011
*L01568 11111111111111111001111101111111
*L01600 10111011101111111111111111111001
*L01632 11111011011111111011011111111111
*L01664 11111111100110111111111110111011
*L01696 10111111111111111111010111110111
*L01728 01111011011101111111111111111111
*L01760 01010111111101111011011101111111
*L01792 11111111111101010111101111111011
*L01824 10111011111111111111111101011011
*L01856 11110111101110110111111111111111
*L01888 11111001011110110111011110111111
*L01920 11111111111111111001011101111011
*L01952 10110111011111111111111111110000
*L02144 00000000000011111111111111111111
*L02176 11111111111111111111111111010111
*L02208 01110111101110111011111111111111
*L02240 11111101011110110111011110110111
*L02272 11111111111111111001111110110111
*L02304 01111011011111111111111111111001
*L02336 01110111101101111111011111111111
*L02368 11111111100101111011011101111011
*L02400 11111111111111111111100110111111
*L02432 01111011101110111111111111111111
*L02464 01011011011101110111101101111111
*L02496 11111111111101011011101101111011
*L02528 10110111111111111111111110011011
*L02560 10110111011101111011111111111111
*L02592 11110000000000000000000000000000
*L02880 00000000000000000000000011111111
*L02912 11111111111111111111111111111111
*L02944 11111101111101110111101110111011
*L02976 11111111111111110101111111110111
*L03008 10111011101111111111111111110101
*L03040 10111111011110111011111111111111
*L03072 11111111100111111011011111111011
*L03104 01111111111111111111110101111011
*L03136 01110111101101111111111111111111
*L03168 01011011011101111111101101111111
*L03200 11111111111110010111011110110111
*L03232 11110111111111111111111110010111
*L03264 01111011111101110111111111111111
*L03296 11111001011110110111011101111011
*L03328 11111111111111111001101110110111
*L03360 10110111101111111111111111110000
*L03648 00001111111111111111111111111111
*L03680 11111111111111111101111111110111
*L03712 01111011101111111111111111111101
*L03744 11111111101110111011101111111111
*L03776 11111111110110111111111110111011
*L03808 10111111111111111111010111111111
*L03840 11111011101110111111111111111111
*L03872 11010111101101110111101111111111
*L03904 11111111111111011011101101111011
*L03936 10111111111111111111111101011011
*L03968 01110111111110111111111111111111
*L04000 11111001111110110111111110110111
*L04032 11111111111111111001111110110111
*L04064 01111111101111111111111111111001
*L04096 10111011011111111111101111111111
*L04128 11111111010111110111011110110111
*L04160 01111111111111111111010101111111
*L04192 01111011011101111111111111111111
*L04224 10010111011110110111101101111111
*L04256 11111111111100000000000000000000
*L05792 00000000000000000100001111111100
*L05824 00000101001101010111010111110100
*L05856 00010101011001000111010111110101
*CEF2C
*7D00
After giving the same treatment to Asteroids and most colour vector games last night, I tried doing the Star Wars vector PROM. This had just a few bits difference from the Battlezone/Tempest/etc PROM but failed to compile, throwing an excessive product term error in WinCUPL.
After a little trial and error messing with the optimisation options I found that setting Quine-McCluskey and 'Best for polarity' options allowed it to compile without error.
I then ran the simulator and tried a few of the address inputs and they did indeed give the correct output data. I did not try all 256 though!
Neither have I tried it in an actual Star Wars PCB as I don't have one easily available to try. I've burned a GAL ready for next time I do have one to try it on.
But there's a good chance it will work just fine like the other two I did last night, so the JED file is below for anyone to copy try as explained in the Battlezone thread.
Device g22v10 Library DLIB-h-40-1
Created Wed Mar 08 22:50:58 2017
Name SW_AVG_PROM
Partno SW_AVG_PROM
Revision 01
Date 06/03/17
Designer Mitchell Gant (credit to Retroclinic)
Company
Assembly None
Location None
*QP24
*QF5892
*G0
*F0
*L01472 00000000000000000000000011111111
*L01504 11111111111111111111111111111111
*L01536 11111101111111111011101110111011
*L01568 11111111111111111001111101111111
*L01600 10111011101111111111111111111001
*L01632 11111011011111111011011111111111
*L01664 11111111100110111111111110111011
*L01696 10111111111111111111010111110111
*L01728 01111011011101111111111111111111
*L01760 01010111111101111011011101111111
*L01792 11111111111101010111101111111011
*L01824 10111011111111111111111101011011
*L01856 11110111101110110111111111111111
*L01888 11111001011110110111011110111111
*L01920 11111111111111111001011101111011
*L01952 10110111011111111111111111110000
*L02144 00000000000011111111111111111111
*L02176 11111111111111111111111111010111
*L02208 01110111101110111011111111111111
*L02240 11111101011110110111011110110111
*L02272 11111111111111111001111110110111
*L02304 01111011011111111111111111111001
*L02336 01110111101101111111011111111111
*L02368 11111111100101111011011101111011
*L02400 11111111111111111111100110111111
*L02432 01111011101110111111111111111111
*L02464 01011011011101110111101101111111
*L02496 11111111111101011011101101111011
*L02528 10110111111111111111111110011011
*L02560 10110111011101111011111111111111
*L02592 11110000000000000000000000000000
*L02880 00000000000000000000000011111111
*L02912 11111111111111111111111111111111
*L02944 11111101111101110111101110111011
*L02976 11111111111111110101111111110111
*L03008 10111011101111111111111111110101
*L03040 10111111011110111011111111111111
*L03072 11111111100111111011011111111011
*L03104 01111111111111111111110101111011
*L03136 01110111101101111111111111111111
*L03168 01011011011101111111101101111111
*L03200 11111111111110010111011110110111
*L03232 11110111111111111111111110010111
*L03264 01111011111101110111111111111111
*L03296 11111001011110110111011101111011
*L03328 11111111111111111001101110110111
*L03360 10110111101111111111111111110000
*L03648 00001111111111111111111111111111
*L03680 11111111111111111101111111110111
*L03712 01111011101111111111111111111101
*L03744 11111111101110111011101111111111
*L03776 11111111110110111111111110111011
*L03808 10111111111111111111010111111111
*L03840 11111011101110111111111111111111
*L03872 11010111101101110111101111111111
*L03904 11111111111111011011101101111011
*L03936 10111111111111111111111101011011
*L03968 01110111111110111111111111111111
*L04000 11111001111110110111111110110111
*L04032 11111111111111111001111110110111
*L04064 01111111101111111111111111111001
*L04096 10111011011111111111101111111111
*L04128 11111111010111110111011110110111
*L04160 01111111111111111111010101111111
*L04192 01111011011101111111111111111111
*L04224 10010111011110110111101101111111
*L04256 11111111111100000000000000000000
*L05792 00000000000000000100001111111100
*L05824 00000101001101010111010111110100
*L05856 00010101011001000111010111110101
*CEF2C
*7D00