ZxList 6, P file to BASIC conversion app

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
David G
Posts: 90
Joined: Thu Jul 17, 2014 7:58 am
Location: 20 North

Re: ZxList 6, P file to BASIC conversion app

Post 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)
Attachments
ZxList61.zip
ZxList 6 - Win32 version C app
(26.82 KiB) Downloaded 126 times
RWAP
Posts: 1337
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: ZxList 6, P file to BASIC conversion app

Post by RWAP »

I get an error when I try to run this under Windows 7 ( 64 bit) - side by side comparison is incorrect...
David G
Posts: 90
Joined: Thu Jul 17, 2014 7:58 am
Location: 20 North

Re: ZxList 6, P file to BASIC conversion app

Post 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
____
.
Attachments
Screen capture ZXList62
Screen capture ZXList62
zxlist62..JPG (85.19 KiB) Viewed 2862 times
David G
Posts: 90
Joined: Thu Jul 17, 2014 7:58 am
Location: 20 North

Re: ZxList 6, P file to BASIC conversion app

Post 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.
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZxList 6, P file to BASIC conversion app

Post by sirmorris »

You can compile the program 'statically linked' - this will negate the need to distribute any library DLLs.
poglad
Posts: 133
Joined: Mon Mar 24, 2014 3:11 pm
Location: Aberdeen, Scotland

Re: ZxList 6, P file to BASIC conversion app

Post by poglad »

In that screen grab, why is MUSIC EDUCATOR 1 enclosed in single-quotes?
User avatar
PokeMon
Posts: 2253
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZxList 6, P file to BASIC conversion app

Post 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.
poglad
Posts: 133
Joined: Mon Mar 24, 2014 3:11 pm
Location: Aberdeen, Scotland

Re: ZxList 6, P file to BASIC conversion app

Post by poglad »

Nifty! :D
User avatar
XavSnap
Posts: 1258
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: ZxList 6, P file to BASIC conversion app

Post 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.
Xavier
RWAP
Posts: 1337
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: ZxList 6, P file to BASIC conversion app

Post by RWAP »

Great - it now works on Windows 7 64 bit here.... :D
Post Reply