Code:PT3:BASIC

From SpecNext official Wiki
Jump to: navigation, search

A driver for playing PT3 files in the back ground from NextBasic can be found here : https://github.com/em00k/zx-nextzxos-pt3driver2

The player will always use AY0

Example usage :

 10 .install "pt3driver.drv"
 15 ; load the player a bank
 20 LOAD "vortex.bin" BANK 20
 25 ; load the tune into a bank
 30 LOAD "tune.pt3" BANK 21
 35 ; tell the driver which banks
 40 DRIVER 127,1,20,21
 45 ; cmd 127,2,<0 stop|1 init|2 play|3 mute>
 50 DRIVER 127,2,1 :; start tune