Created
September 6, 2020 21:44
-
-
Save tom-seddon/15f366ea1e75bf5b4e008b28e526e584 to your computer and use it in GitHub Desktop.
Improved Video NuLA detection code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10REM>DETECTNULA | |
20MODE7 | |
30VDU23,0,8,&30,0;0;0; | |
40*FX9 | |
50*FX10 | |
60*FX151,32,16 | |
70*FX19 | |
80E%=FNTM | |
90REM 34=&22,68=&44 | |
100*FX151,34,68 | |
110*FX19 | |
120G%=FNTM | |
130NULA%=E%/G%>0.75 | |
140MODE7 | |
150IFNULA%:PRINT"NuLA detected":ELSE:PRINT"NuLA not detected" | |
160END | |
170DEFFNTM:LOCALI%,T%:TIME=0:FORI%=1TO5:*FX19 | |
180NEXT:T%=TIME:=T% | |
190 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cheers Tom!