f



ZmakeBas1-1 error.

Hi,
I try to convert a Spectrum program using ZmakeBas (From Russell Marks), 
but i point a bug in the graphic characters conversion!

10 PRINT"\ '"

Don't work properly on my windows GCC 4.9 C++ compiler.
It convert it to a double {h129} output!

10 PRINT"\ '\ '"

Is there such problem on you platform?
Is there any release to fix this bug...
I can't target the bug !
0
Gzavsnap
10/10/2016 12:40:52 AM
comp.sys.sinclair 6096 articles. 0 followers. Post Follow

3 Replies
213 Views

Similar Articles

[PageSpeed] 47

Le 10/10/2016 à 02:40, Gzavsnap a écrit :
> Hi,
> I try to convert a Spectrum program using ZmakeBas (From Russell Marks),
> but i point a bug in the graphic characters conversion!
> 10 PRINT"\ '"
> Don't work properly on my windows GCC 4.9 C++ compiler.
> It convert it to a double {h129} output!
> 10 PRINT"\ '\ '"
> Is there such problem on you platform?
> Is there any release to fix this bug...
> I can't target the bug !

Try this exemple:

210 PRINT"\::\::\::\''\''\''\''\''\''\''\':"
220 PRINT"\::\ '\ :\''\':\ :\''\''\ '\''\::"
230 PRINT"\:'\ :\''\ :\ '\''\ :\':\''\' \::"
240 PRINT"\::\ '\ :\':\.:\ '\''\ :\' \''\':"
250 PRINT"\:'\ :\ .\ .\ '\''\:'\''\':\' \':"
260 PRINT"\::\ '\''\:'\ '\''\:'\ :\ '\''\ :"
270 PRINT"\::\''\ :\''\''\::\''\':\''\ '\::"
280 PRINT"\::\':\ '\: \: \..\.:\ '\''\' \':"
290 PRINT"\:'\ '\' \''\:.\ '\ .\.:\ '\''\':"
2100 PRINT"\::\''\':\ .\..\ :\..\..\.:\''\ :"
2110 PRINT"\:.\.:\..\..\.:\..\..\.:\..\.:\::"
4001 PRINT"\  \ '\' \''\ .\ :\'.\':\. \.'\: \:'\..\.:\:.\::"
0
Gzavsnap
10/10/2016 9:23:48 PM
Le 10/10/2016 à 23:23, Gzavsnap a écrit :
 > Le 10/10/2016 à 02:40, Gzavsnap a écrit :
 >> Hi,
 >> I try to convert a Spectrum program using ZmakeBas (From Russell Marks),
 >> but i point a bug in the graphic characters conversion!
 >> 10 PRINT"\ '"
 >> Don't work properly on my windows GCC 4.9 C++ compiler.
 >> It convert it to a double {h129} output!
 >> 10 PRINT"\ '\ '"
 >> Is there such problem on you platform?
 >> Is there any release to fix this bug...
 >> I can't target the bug !

Spent many hours to trace C++ codes...
And i got the bug!

Offset      0  1  2  3  4  5  6  7   8  9 10 11 12 13 14 15
00000000   31 20 50 52 49 4E 54 20  3B 22 5C 3A 3A 5C 3A 3A   1 PRINT 
;"\::\::
00000016   5C 27 27 5C 3A 3A 8F 8F  8F 5C 27 27 5C 27 27 5C 
\''\::\''\''\
00000032   27 27 5C 27 27 5C 27 27  5C 27 27 5C 27 3A 22 20 
''\''\''\''\':"
00000048   0D 0A 32 20 52 45 4D 0D  0A                        ..2 REM..

Some h8F,h8D... chars has been included in the ascii file.
The basic text file was corrupt by masked chars codes...
Zmakebas will convert all characters to graphics spectrum chars!

8-(

It work properly if this chars are removed!

0
Gzavsnap
10/16/2016 7:44:14 AM
Hi,
ZmakeBas1-1 (From Russell Marks),
Is now updated to 1.1e release from XavSnap.

-TZX, tap or raw mode supported.
-Raw char. available \{128} or \{h80}
-Merge option to add a file to a TZX.
-'\%10,10' add a chr$(22)+chr$(10)+chr$(10) to chain a PRINT function, 
without AT basic functions.

(Win32 executable and res in the zip file.)

Download: <http://zx81.ordi5.free.fr/tools/zmakebas-1.1.zip>

Have fun.
0
Gzavsnap
10/29/2016 2:42:40 AM
Reply: