Page 2 of 4

Re: ZxList 6, P file to BASIC conversion app

Posted: Sun Jul 27, 2014 5:35 am
by David G
Sorry, I haven't been able to access the forum all week (I get "Error 503 : Service Temporarily Unavailable"). I finally borrowed another computer.


Here is the requested 32-bit app. It is not VB, as the free versions of VB are now Visual Basic .NET and are not compatible with Visual Basic.

It is a C++ app. I hope it will not require any runtime files.

new features:
* Assembler byte dump statements of machine code REM statements
* Hex dump of machine code REM statements
* in-memory Variables included

Known problem - the dump options fail on very large REM statements (e.g. 16K apps)

Re: ZxList 6, P file to BASIC conversion app

Posted: Sun Jul 27, 2014 8:25 am
by RWAP
I get an error when I try to run this under Windows 7 ( 64 bit) - side by side comparison is incorrect...

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 1:09 pm
by David G
Attached is the the lastest ZX Lister 6.2 32-bit for Windows.

Now feature-complete
* dump options succeed on very large REM statements (e.g. 16K apps)
- Assembler byte dump statements of machine code REM statements
- Hex dump of machine code REM statements
* in-memory Variables included, and will round-trip with ZX-IDE
* Can switch to ZX81 Font from ZX-IDE, can change font-size
* App UI scales better with large monitors and high-DPI displays
* Warns before overwriting machine code BIN files
* Floating point now formatted more closely to standard ZX81 format and works with large and small E numbers

Known problems - dumps fail with 32K apps

Code: Select all

_____

ZXList 6.2 for 32-bit Windows - attached to first post of this topic
____
.

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 1:32 pm
by David G
RWAP wrote:I get an error when I try to run this under Windows 7 ( 64 bit) - side by side comparison is incorrect...
"side by side comparison is incorrect" is apparently common with Microsoft's 2008 products. The ZXLister was compiled using Visual C++ 2008.

Per Microsoft:
This issue is caused by a conflict with some of the files in the 2008 version of the C run-time libraries. These libraries are part of the Visual Studio 2008 release, the version numbers start with 9.0. These libraries may be installed with several different Microsoft and third party products.
The new attachment (in the first post) works around one of the known issues. Give it a try.

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 1:43 pm
by sirmorris
You can compile the program 'statically linked' - this will negate the need to distribute any library DLLs.

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 3:25 pm
by poglad
In that screen grab, why is MUSIC EDUCATOR 1 enclosed in single-quotes?

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 5:13 pm
by PokeMon
poglad wrote:In that screen grab, why is MUSIC EDUCATOR 1 enclosed in single-quotes?
Well that's belong to the ZX-IDE or its underlying FASM compiler.
Normally the ZX Basic handles strings with double quotes.
There are situations where ZX Basic accept text strings without quotes which would be interpreted by the FASM compiler as tokens or labels.
To deal with this special situations the single quotes can be used to mark a text sequence as string without generating the double quotes.

REM is such as thing, you can enter any text or special characters after REM which are ignored from the ZX Basic but would throw errors when compiling (assembling) the source. There is one other thing I never found in any other language, variable names can have blanks inside the name. So the variable name TAKE THIS is valid and identical to the variable TAKETHIS or T A K E T H I S.

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 6:03 pm
by poglad
Nifty! :D

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 7:12 pm
by XavSnap
Hi,
The W7 (32b) Diagnoses a side-by-side problems.
We had to reinstall the VC++ 2008 librarys...

The first compiled program, in VB3(16b) was ok! (With less 500Kb Library!)
The first release must be emulated in 32b mode.(XP or W95 compatibility)

Many free Microsoft compilers, can generate "no redistribuable" programs.
Your executable, can run properly on your computeur, but can't be launched on another computer!

cf.:
Numéro HS CD 08 - 2001
http://www.abandonware-magazines.org/af ... 109&page=2
Is a free release, but it's a private release.

Re: ZxList 6, P file to BASIC conversion app

Posted: Mon Jul 28, 2014 9:42 pm
by RWAP
Great - it now works on Windows 7 64 bit here.... :D