Loading/Editing/Saving .p files..?

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
User avatar
gammaray
Posts: 256
Joined: Sun Apr 17, 2016 1:44 am
Location: Texas

Re: Loading/Editing/Saving .p files..?

Post by gammaray » Sun Oct 29, 2017 4:37 pm

The only tools that don't seem to work in wine shown in graphic below... all of the "subclassing"

vb81... works and the other tools seem to work.

Do we have to start a whole new group of RETRO ZED EMULATORS USERS RUNNING ON RETRO WINDOWS CALL ON MODERN LINUX SYSTEMS...

Down the rabbit hole we go...
zxtools.png
zxtools.png (65.68 KiB) Viewed 233 times
Finish what you start. Truth is over the mountaintop or six feet under.
4 x TS1000, 2 x TS1500 , 2 x timex 2040 printer, 1/2 x timex 2020 cassette deck, ZXPAND, ZeddyNET, ZXBlast..., unfinished Spectrum...Still no life!

User avatar
XavSnap
Posts: 461
Joined: Sat May 10, 2008 3:23 pm

Re: Loading/Editing/Saving .p files..?

Post by XavSnap » Tue Oct 31, 2017 1:11 am

HI Gammaray,
Yes, on this Tools, you had to install the "subclassing" DLLS, at the bottom of the picture... (another 'setup' to run...)

But, ZXbasic is only a front-end to use the old BAS2P.exe file...

Prefer the "ZxToken" to compile in a 'P' file... 'BAS2P.exe' seem to trim all lines to 1024 characters!
VB81 include the same codes to run a text file.
Image
http://dskcenter.free.fr/Download/Zxtoken.zip

"ZxToken" is more convenient to create a 'p' file, and run it in "Eighty-one" without typing SAVE"HELLO" in the emulator! (it will create a file in the current selected directory!)
VB81 XuR able to code, fixe and explore basic or asm programs.

But, the VB81 XuR limitation on the ZX81's display routine had to be completed by EO to check this kind of codes.

User avatar
sirmorris
Posts: 2667
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: Loading/Editing/Saving .p files..?

Post by sirmorris » Tue Oct 31, 2017 7:54 am

gammaray wrote:
Sun Oct 29, 2017 4:37 pm
Do we have to start a whole new group of RETRO ZED EMULATORS USERS RUNNING ON RETRO WINDOWS CALL ON MODERN LINUX SYSTEMS...
The source for many tools (mine most definitely) is available. Usually vanilla C/C++. Linux native versions are just a GCC away..! 8-)
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
gammaray
Posts: 256
Joined: Sun Apr 17, 2016 1:44 am
Location: Texas

Re: Loading/Editing/Saving .p files..?

Post by gammaray » Tue Oct 31, 2017 4:13 pm

This is the WINE error I get trying run ZXTOOLS...i did install dskcenter and subclassing dll's.

I don't know how to run the "*.JS" files for registry entries. Which may be the problem

Working on install OpenJRE Ubuntu no longer recommends Oracle Java
zxtools fail.png
zxtools fail.png (17.09 KiB) Viewed 177 times
Finish what you start. Truth is over the mountaintop or six feet under.
4 x TS1000, 2 x TS1500 , 2 x timex 2040 printer, 1/2 x timex 2020 cassette deck, ZXPAND, ZeddyNET, ZXBlast..., unfinished Spectrum...Still no life!

User avatar
XavSnap
Posts: 461
Joined: Sat May 10, 2008 3:23 pm

Re: Loading/Editing/Saving .p files..?

Post by XavSnap » Tue Oct 31, 2017 11:09 pm

Hi,
The "*.JS" isn't required for the "visual basic" runtime installation.
In Vb81, it add icons and links 'p' and 'txt' to the main exe file...

Note; Vb81 isn't a compiled java program, you don't have to call it using a Java runtime environment.
The "sub-classing" is only used to setup the riched-text frame in the code.
But, it seem to be a serious problem in Linux!
:

User avatar
gammaray
Posts: 256
Joined: Sun Apr 17, 2016 1:44 am
Location: Texas

Re: Loading/Editing/Saving .p files..?

Post by gammaray » Tue Oct 31, 2017 11:24 pm

VB81 works. Maybe a comparison between that and ZXtools is in order.
Finish what you start. Truth is over the mountaintop or six feet under.
4 x TS1000, 2 x TS1500 , 2 x timex 2040 printer, 1/2 x timex 2020 cassette deck, ZXPAND, ZeddyNET, ZXBlast..., unfinished Spectrum...Still no life!

User avatar
mrtinb
Posts: 507
Joined: Fri Nov 06, 2015 4:44 pm
Location: Denmark
Contact:

Re: Loading/Editing/Saving .p files..?

Post by mrtinb » Wed Nov 01, 2017 5:59 am

XavSnap - I like your software - but they seem difficult to install.

It would be great if your software was statically linked so it was running without external DLLs and English ones if possible. I had great problems getting VB81 to run, so now I don’t update it anymore. When I need it on a new machine, I copy my working folder.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
gammaray
Posts: 256
Joined: Sun Apr 17, 2016 1:44 am
Location: Texas

Re: Loading/Editing/Saving .p files..?

Post by gammaray » Wed Nov 01, 2017 8:03 pm

But, the VB81 XuR limitation on the ZX81's display routine had to be completed by EO to check this kind of codes.
Xavsnap What does this mean?

If I understood the following:

ZXbasic pulls up the "older" bas2p.exe... So ZXtoken would be used instead.

ZX Draw Does it have another replacement since I have not got it running?
Finish what you start. Truth is over the mountaintop or six feet under.
4 x TS1000, 2 x TS1500 , 2 x timex 2040 printer, 1/2 x timex 2020 cassette deck, ZXPAND, ZeddyNET, ZXBlast..., unfinished Spectrum...Still no life!

User avatar
XavSnap
Posts: 461
Joined: Sat May 10, 2008 3:23 pm

Re: Loading/Editing/Saving .p files..?

Post by XavSnap » Wed Nov 01, 2017 11:06 pm

Hi
gammaray wrote:
Wed Nov 01, 2017 8:03 pm
But, the VB81 XuR limitation on the ZX81's display routine had to be completed by EO to check this kind of codes.
Xavsnap What does this mean?
Vb81 XuR, was originally coded in Visual Basic, and we had to choose a short-cut to speed-up the display!
The orginal codes was based on the D_File mirroring ... :mrgreen:
A PRINT"A" was intercept and display as a graphic character "A" in the D_File.
All ROM or customs routines are ignored!!!
for example, the Andy Rea's display routine won't work on Vb81XuR !
viewtopic.php?f=11&t=2622
:oops:
But, all graphic cards and UDG are using proper emulated device!
And most of IX instruction are redirected to get the true display.
If I understood the following:
ZXbasic pulls up the "older" bas2p.exe... So ZXtoken would be used instead.
Yes, ... or Vb81...
ZX Draw Does it have another replacement since I have not got it running?
Most of ZX81's tools are implanted in VB81!

Just select the "Tools" menu, and "EasyDraw!" window. (on a 16k expended D_File, before a SAVE command)
A jpg or bmp can aslo be digitalized in the "P_Tools" and "Digitalize a bitmap picture..."
You can save the actual screen in a basic file if you select the "*.BAS" attribute!
It will save it in the riched_ZX81 encoded characters code.

"P_Tools" , "D_File tools", "Save current D_File..." and type your "screen_name.BAS".
Vb81 XuR is a funny game, and many tools are hidden and (shift)[ctrl] can be used to find more facilities...
Example, in the "Disassembler" window, you can click on the header to get another read format...

Right click on an opp-code will set this "DATA" to text, "ASCII", "Data" or return to an "ASM mnemonic".
... To disassemble the code using right jump and better conversion to a text file ("save code >target format>tasm mnemonics text format")...

right click, ctrl key (alone), and right click on the last mnemonic to set a group to the right format!

;)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests