Debug output looks like this:
The wave doesn't work in xroar yetVerbosity log level: DEBUG
logfile log level: INFO
filename 'HELLOWOR' from: ../test_files/HelloWorld1.bas
Create 16-bit wave file with 22050Hz and 29491 max volumen (90%)
Real frequency: 1225.00
Real frequency: 2450.00
filename block: ['HELLOWOR', '\x00', '\xff', '\x00', '\x00', '\x00', '\x00', '\x00']
yield 255x lead byte 0x55
yield sync byte 0x3c
yield block type 'filename block (0x00)'
yield block length 0xf (15Bytes)
yield 'filename block (0x00)':
-------------------------------------------------------------------------------
['HELLOWOR', '\x00', '\xff', '\x00', '\x00', '\x00', '\x00', '\x00']
-------------------------------------------------------------------------------
yield calculated checksum 0x7a
yield magic byte 0x55
code: [13, 49, 48, 32, 70, 79, 82, 32, 73, 32, 61, 32, 49, 32, 84, 79, 32, 49, 48, 13, 50, 48, 32, 80, 82, 73, 78, 84, 32, 73, 59, 34, 72, 69, 76, 76, 79, 32, 87, 79, 82, 76, 68, 33, 34, 13, 51, 48, 32, 78, 69, 88, 84, 32, 73, 13, 0, 0]
yield 255x lead byte 0x55
yield sync byte 0x3c
yield block type 'data block (0x01)'
yield block length 0x3a (58Bytes)
yield 'data block (0x01)':
-------------------------------------------------------------------------------
['\r', '10 FOR I = 1 TO 10', '\r', '20 PRINT I;"HELLO WORLD!"', '\r', '30 NEXT I', '\r', '\x00', '\x00']
-------------------------------------------------------------------------------
yield calculated checksum 0x91
yield magic byte 0x55
yield 255x lead byte 0x55
yield sync byte 0x3c
yield block type 'end-of-file block (0xff)'
yield block length 0x0 (0Bytes)
yield calculated checksum 0xff
yield magic byte 0x55
There must be exist a bug... Or i must use other starting/loading address instead of 0x00
See: https://github.com/jedie/PyDragon32/com ... 21a#L0R349
btw. current implementation does only create ASCII stream,yet