Last Modified: 1/3/2021
Enable 68000 bus protection during DMA.
Name | Type | Required | Description |
Enabled | Boolean | Yes | Enable or disable bus protection using True or False. |
Syntax: XgmSetBusProtection <Enabled> |
XgmTrack MyMusicTrack XgmStartMusic On vInt GoSub Vbl Enable vInt While 1 j = JoyPad() If j.0 Then XgmSetTempo 100 End If If j.1 Then XgmSetTempo 30 End If WaitPadUp 0 Sleep 1 Wend Vbl: XgmVintProc XgmSetBusProtection True DmaLoad MyTiles,1,0 XgmSetBusProtection False Return MyTiles: DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $11111111 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 DataLong $22222222 |