Even using this example.... The console doesnt display the saved data (yet doesnt throw the error either of a red background), yet stella does?
rem ** the bB score as regular variables...
dim sc1=score
dim sc2=score+1
dim sc3=score+2
rem ** randomize the first score byte...
sc1=5
rem ** write the first score byte to AtariVox location $3001
rem ** if the write is successful, temp1=0, else temp1=$ff
rem **
rem ** We don't care about the return value, but we need to use
rem ** "temp2=" to keep bB's syntax checker happy.
rem **
temp2=AVoxWriteByte($30,$01,sc1)
rem ** check if the write worked. If not, we won't support AtariVox...
rem **
if temp1<>0 then COLUBK=$44:goto main
rem ** Stick a drawscreen between your AtariVox reads/writes. Otherwise
rem ** you'll use too many cycles...
rem **
drawscreen
rem ** read from AtariVox location $3001, and store the result in the sc3 var.
rem ** if the read is successful, temp1=0, else temp1=$ff
rem **
sc3=AVoxReadByte($30,$01)
COLUBK=$0
drawscreen
rem ** loop forever...
main
scorecolor=$0f
drawscreen
goto main
rem ** include the AtariVox wrapper and driver code...
asm
include "bbavox-eeprom-static.asm"
end