Runing EHBasic on Kowalski Simulator

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Runing EHBasic on Kowalski Simulator

Post 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
Attachments
ehbasicsource222.zip
(549.09 KiB) Downloaded 196 times
ehbasicsourc209e.zip
(62.16 KiB) Downloaded 174 times
ehbasicsource222.zip
(549.09 KiB) Downloaded 166 times
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post by BigEd »

All assemblers have different syntax! You need to pick the right one for your sources.
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post by powersoft_51 »

Thanks for the reply, but I don't understand your reply.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post 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)
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post 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.
Scherm­afbeelding 2025-04-25 om 15.01.08.png
Scherm­afbeelding 2025-04-25 om 15.01.32.png
Maby there are more errors but the program is stopped here.
The source I use is in the zip file.

Thanks for any help.
Attachments
6502_EhBASIC_V2-2.22-master.zip
(64.71 KiB) Downloaded 184 times
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post 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
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post by powersoft_51 »

This is my version:
Scherm­afbeelding 2025-04-25 om 16.15.42.png
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post by BigEd »

It might be worth trying a 1.4 version - see Daryl's page
https://sbc.rictor.org/kowalski.html
User avatar
8BIT
Posts: 1787
Joined: 30 Aug 2002
Location: Sacramento, CA
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post 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
Please visit my website -> https://sbc.rictor.org/
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post by BigDumbDinosaur »

powersoft_51 wrote:
This is my version:
Scherm­afbeelding 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.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post by powersoft_51 »

Thanks for the replay, it is working well on this moment.
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post 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
Scherm­afbeelding 2025-04-27 om 22.46.08.png
The files I use I also included.
Attachments
6502_EhBASIC_V2-2.22-master.zip
(64.71 KiB) Downloaded 173 times
Scherm­afbeelding 2025-04-27 om 22.46.08.png
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post 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?
Scherm­afbeelding 2025-04-27 om 22.38.46.png
User avatar
8BIT
Posts: 1787
Joined: 30 Aug 2002
Location: Sacramento, CA
Contact:

Re: Runing EHBasic on Kowalski Simulator

Post 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
Please visit my website -> https://sbc.rictor.org/
powersoft_51
Posts: 51
Joined: 22 Jun 2024

Re: Runing EHBasic on Kowalski Simulator

Post by powersoft_51 »

THe are the copy's
Scherm­afbeelding 2025-04-28 om 09.23.30.png
Scherm­afbeelding 2025-04-28 om 09.23.51.png
Scherm­afbeelding 2025-04-28 om 09.24.04.png
Post Reply