This fails in both manifests.
NOTE: Make sure you delete the manifest.hjson in the resources folder if you want to easily test in both manifests.
Deek fails entirely due to incorrect transpilation.
Leek fails if the contents of a byte of the memory being examined goes beyond $7F.
The example below fails half-way through (when the high bit is set).
Code to test:
// #manifest: "amiga" ' Un-comment and delete manifest.hjson from resources folder to test Amiga manifest.
// Create & fill buffer
Reserve As Data $E,256
Buf = Start($E)
Siz = Length($E)
Print Buf,Siz
For i = 0 To Siz-1
Poke Buf+i,i
Next i
// Peek Test
Print "Testing Peek():"
For i=0 To Siz-1
Print Right$(Hex$(Peek(Buf+i),2),2);
If (i+1) Mod 16 = 0 Then Print
Next i
Wait Key
/*
// Deek Test (Word Peek) - FAILS ENTIRELY
Print "Testing Deek():"
For i=0 To Siz-1 Step 2
Print Right$(Hex$(Deek(Buf+i),4),4);
If (i+2) Mod 16 = 0 Then Print
Next i
Wait Key
*/
// Leek Test (Long Peek) - Fails half-way thorugh.
Print "Testing Leek():"
For i=0 To Siz-1 Step 4
Print Right$(Hex$(Leek(Buf+i),8),8);
If (i+4) Mod 16 = 0 Then Print
Next i
Wait Key
In both manifests, Deek fails entirely.
In both manifests, Leek fails half-way through the test.
In the Amiga manifest, all 3 tests should be identical.
In the AOZ manifest, tests use big-endian. Works with Leek until it fails.