Page 1 of 2
Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 9:19 am
by powersoft_51
On
https://gotbasic.com/ehbasic.html
I ound two downloads for EHBasic to run in the Kowalski simulator.
Unfortunately, assembling gives an error.
This occurs in the file "basic.asm".
This error occurs in both versions.
I don't know what to do with this error.
Can someone help me with this to get these versions of EHBasic working.
Add the latest versions as a zip file
Thanks for any help offered.
cheers
Jan
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 10:37 am
by BigEd
All assemblers have different syntax! You need to pick the right one for your sources.
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 10:51 am
by powersoft_51
Thanks for the reply, but I don't understand your reply.
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 12:30 pm
by BigEd
Best way to make progress I think is for you to show what you did, and what happened. You can attach screenshots or log files. (In a zip file if necessary)
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 1:14 pm
by powersoft_51
When I try to compile min_mon.asm I get. error in the iclude file.
When I compile the include file basic.asm I get this message.
Maby there are more errors but the program is stopped here.
The source I use is in the zip file.
Thanks for any help.
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 1:48 pm
by BigEd
Ah, sorry, of course Kowalski includes its own assembler. I wonder, then, are you running a very old Kowalski - what's the version number?
The rejected line is a syntax where square brackets are used as expression parentheses:
Code: Select all
LAB_1609
CMP #[TK_TAB-$80]*2; compare normalised token * 2 with TAB
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 2:17 pm
by powersoft_51
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 2:53 pm
by BigEd
It might be worth trying a 1.4 version - see Daryl's page
https://sbc.rictor.org/kowalski.html
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 3:53 pm
by 8BIT
Code: Select all
LAB_1609
CMP #[TK_TAB-$80]*2; compare normalised token * 2 with TAB
Hi Jan,
Try replacing the [ ] with { }. That should work.
Be sure the IO area in the Simulator is set to $F000.
After you assemble the min_mon, start the simulator, press the run button, then the RST. The reset should bring up the Cold/Warm start message.
Daryl
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 5:13 pm
by BigDumbDinosaur
This is my version:
Schermafbeelding 2025-04-25 om 16.15.42.png
As suggested, go to Daryl’s site and get the latest version.
Also as noted, expressions such as 2*[4+12] should be edited to use curly braces, like this: 2*{4+12}. This change was necessary due to Daryl having enhanced the Kowalski assembler to work with the 65C816 and its new addressing modes. In particular, the 816's indirect-long addressing modes use square brackets instead of parentheses, e.g., LDA [ZPPTR],Y. Since an arithmetic expression such as 2*{4+12} may be used in place of ZPPTR, the curly braces are necessary to avoid confusing the assembler, e.g., LDA [2*{4+12}],Y.
Speaking of the 65C816, the latest version of the Kowalski package is able to simulate the 816 and its environment—including extended memory, something that I have found useful in testing 816-specific algorithms.
Re: Runing EHBasic on Kowalski Simulator
Posted: Fri Apr 25, 2025 7:36 pm
by powersoft_51
Thanks for the replay, it is working well on this moment.
Re: Runing EHBasic on Kowalski Simulator
Posted: Sun Apr 27, 2025 8:55 pm
by powersoft_51
I have used the latest version of the Kowalski-simulator, and use EHBasic 2.22.
When I try to compile got an error on line
Ibuffs = IRQ_vec+$14
The files I use I also included.
Re: Runing EHBasic on Kowalski Simulator
Posted: Sun Apr 27, 2025 9:01 pm
by powersoft_51
Please discard last message, I compiling the wrong sequence.
Compiling is okee, but when I stated NHBasic and enter the "c" for cold start and a return for the memory size
the program is running to the end (without anything) and prints ready.
Some idee, what could wrong?
Re: Runing EHBasic on Kowalski Simulator
Posted: Sun Apr 27, 2025 10:34 pm
by 8BIT
Can you post a capture of the Simulator Options tab and the Assembler Options tab? As long as you are running the default source with the exception of editing the [] with {}, it is most likely something in the Kowalski options.
Daryl
Re: Runing EHBasic on Kowalski Simulator
Posted: Mon Apr 28, 2025 7:27 am
by powersoft_51