![]() |
|
POKE ULONG (*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: POKE ULONG (*solved*) (/showthread.php?tid=497) |
POKE ULONG (*solved*) - LCD - 2012-09-15 Hi Boriel, Code: poke Uinteger adr,peek(Uinteger,adr+128)Code: poke Ulong adr+(a<<5),peek(Ulong,adr+128)Re: POKE ULONG - boriel - 2012-09-16 LCD Wrote:Hi Boriel,Hmmm. I can't understand this example. 'adr' is an Ulong variable? What is 'a'? Anyway, I guess this is related to a previous fixed bug with poke Uinteger (except I forgot to check for Ulong, Long, Fixed and Float types). Re: POKE ULONG - LCD - 2012-09-16 boriel Wrote:LCD Wrote:Hi Boriel,Hmmm. I can't understand this example. 'adr' is an Ulong variable? What is 'a'? Oooops, it should be Code: poke Ulong adr,peek(Ulong,adr+128)adr is a uinteger variable and the example should copy 4 bytes from one address to another, but the first 2 bytes are corrupted after copying. Re: POKE ULONG - boriel - 2012-09-17 Can you download the latest version 1.3.0s920 and check if it is fixed? Re: POKE ULONG - LCD - 2012-09-17 boriel Wrote:Can you download the latest version 1.3.0s920 and check if it is fixed?Okay, I will do it later today. Thx! Re: POKE ULONG - LCD - 2012-09-17 Tested. It works now fine. Thank you again. |