![]() |
|
v1.8.9 bright 8 does not work (*solved*) - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15) +---- Thread: v1.8.9 bright 8 does not work (*solved*) (/showthread.php?tid=875) |
v1.8.9 bright 8 does not work (*solved*) - Eqx - 2019-04-14 Hello Boriel, I found a problem wih bright 8 I'm coding some routines for a game and I need use bright 8 to draw four lines on a square with attributes: ink 2 and bright 1 I set paper 8, ink 8 and bright 8 to draw lines in this zone but zxbasic changes the brightness to zero and seems doesn't works. Thanks Code: ink 2: bright 1
plot 117,154:
draw 0,-8: draw 1,0: draw 0,-5: draw -1,0: draw 0,-8: draw 8,0: draw 0,1: draw 5,0: draw 0,-1: draw 8,0: draw 0,8:
draw -1,0: draw 0,5: draw 1,0: draw 0,8: draw -8,0: draw 0,-1: draw -5,0: draw 0,1: draw -8,0
do
.....
if IN 32766 = 190 go sub fire
print paper 6;over 1; INK 0;AT 5,15;" ";AT 6,15;" "
loop
fire:
ink 8: paper 8: bright 8: over 1
for n=1 TO 2
plot 0,191:draw 126,-47
plot 255,191:draw -126,-47
plot 80,75: draw 48,69
plot 175,75:draw -48,69
next n
over 0
returnRe: v1.8.9 Bright 8 issue - Eqx - 2019-04-15 My apologies for repeat the question, I'm in trouble with this specifyingbright 8 works in zxboriel as sinclair basic ? (transparent bright) Thx a lot Best regards! Siento insistir en esta cuestión Para poder tomar una decisión, tan solo necesito saber si es un posible bug de esta versión o el zx basic no soporta el valor 8 para el brillo de la misma manera que lo hace el basic de sinclair . Muchas gracias Un saludo! Re: v1.8.9 bright 8 does not work - boriel - 2019-04-16 It should work as in Sinclair BASIC. ZX Basic uses its own printing routine. I'll look into it, thx 8) Re: v1.8.9 bright 8 does not work - Eqx - 2019-04-16 Problem only is with bright 8. paper 8 and ink 8 works fine in zx basic Thank you very much Boriel! Re: v1.8.9 bright 8 does not work - boriel - 2019-04-18 Ok, there was a (long lasting!) bug in both FLASH and BRIGHT, now fixed. Please, download this beta, and tell me if it works ok :roll: http://boriel.com/files/zxb/zxbasic-1.8.10-beta11-win32.zip http://boriel.com/files/zxb/zxbasic-1.8.10-beta11.tar.gz http://boriel.com/files/zxb/zxbasic-1.8.10-beta11.zip Re: v1.8.9 bright 8 does not work - Eqx - 2019-04-18 Awesome!! hock: Thank you very much Boriel, now it works perfectly Thx a lot! 1.8.9 1.8.10 Re: v1.8.9 bright 8 does not work - boriel - 2019-04-18 Seems that nobody used BRIGHT 8 nor FLASH 8 before! I will put these updates in the next 1.8.10 stable. In the meantime, keep this beta10 :wink: BTW nice screenshots! |