Welcome, Guest. Please login or register.


Author Topic: Zzzip Integer Compiler (Read 78422 times)

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #75 on: 2023.November.24. 07:53:30 »
Hi Zozosoft,
This dont work for me. I think there is a mistake in line 120. Variable B$ must be A$ to work, but the compiled program (for example  Hello.com) don't work anyway.
Did you try to start the program by RUN or START?
RUN 100 would save i guess the compiled porgram.

Offline desUBIKado

  • Newbie
  • Posts: 7
Re: Zzzip Integer Compiler
« Reply #76 on: 2023.November.24. 11:48:09 »
Did you try to start the program by RUN or START?
RUN 100 would save i guess the compiled porgram.

I write a "Hello World" program called HELLO.BAS
I compile it and I take HELLOZ.BAS HELLOZ.Z
Then LOAD "HELLOZ.BAS" and RUN 100  and PRESS ENTER when INPUT PROMPT appears
Nothing pass

Alternative
LOAD "HELLOZ.BAS"
I change B$ y A$ in line 120
when INPUT PROMPT appears I type HELLO.COM
File  HELLO.COM is created in disk
I try launch it
:LOAD HELLO.COM
the program don't work

I n00b in Elan Enterprise, so sorry.

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #77 on: 2023.November.24. 12:05:48 »
Try to LOAD "HELLOZ.BAS" and just RUN or START, or
START "HELLOZ.BAS"

HELLOZ.BAS is the loader of your compiled Basic program, if you start it with RUN 100, i think it saves only the compiled Basic program.

Offline desUBIKado

  • Newbie
  • Posts: 7
Re: Zzzip Integer Compiler
« Reply #78 on: 2023.November.24. 12:16:42 »
Try to LOAD "HELLOZ.BAS" and just RUN or START, or
START "HELLOZ.BAS"

HELLOZ.BAS is the loader of your compiled Basic program, if you start it with RUN 100, i think it saves only the compiled Basic program.

Yes, RUN works fine, but i want to take a stand alone HELLO.COM file. Is that possible?

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #79 on: 2023.November.24. 14:03:05 »
Yes, RUN works fine, but i want to take a stand alone HELLO.COM file. Is that possible?
From the compiled version it is not possible to save standalone HELLO.COM
Probably i can make an assembly code which includes your compiled version, and creates a HELLO.COM

Offline desUBIKado

  • Newbie
  • Posts: 7
Re: Zzzip Integer Compiler
« Reply #80 on: 2023.November.24. 14:25:46 »
From the compiled version it is not possible to save standalone HELLO.COM
Probably i can make an assembly code which includes your compiled version, and creates a HELLO.COM

Thanks a lot for your patience and I will wait your solution to make a stand alone HELLO.COM.

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #81 on: 2023.November.24. 14:53:13 »
Thanks a lot for your patience and I will wait your solution to make a stand alone HELLO.COM.
Please attach your compiled files.

Offline desUBIKado

  • Newbie
  • Posts: 7
Re: Zzzip Integer Compiler
« Reply #82 on: 2023.November.24. 19:08:37 »
Please attach your compiled files.

I deleted them. Tomorrow I will generate all of them again. Sorry.

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #83 on: 2023.November.24. 19:12:10 »
I deleted them. Tomorrow I will generate all of them again. Sorry.
Do not need, i created one, but it seems i can not do it.

Online geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Zzzip Integer Compiler
« Reply #84 on: 2023.November.24. 19:37:27 »
It works, but... After loading basic will appear, you have to type CALL USR(5932,0) and the program starts, after stoppig it, it will restart to F1 or run also