Runing EHBasic on Kowalski Simulator
-
powersoft_51
- Posts: 51
- Joined: 22 Jun 2024
Runing EHBasic on Kowalski Simulator
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
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
Re: Runing EHBasic on Kowalski Simulator
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
Thanks for the reply, but I don't understand your reply.
Re: Runing EHBasic on Kowalski Simulator
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
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.
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.
- Attachments
-
- 6502_EhBASIC_V2-2.22-master.zip
- (64.71 KiB) Downloaded 184 times
Re: Runing EHBasic on Kowalski Simulator
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:
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
This is my version:
Re: Runing EHBasic on Kowalski Simulator
It might be worth trying a 1.4 version - see Daryl's page
https://sbc.rictor.org/kowalski.html
https://sbc.rictor.org/kowalski.html
Re: Runing EHBasic on Kowalski Simulator
Code: Select all
LAB_1609
CMP #[TK_TAB-$80]*2; compare normalised token * 2 with TABTry 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/
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Runing EHBasic on Kowalski Simulator
powersoft_51 wrote:
This is my version:
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
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
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.
When I try to compile got an error on line
Ibuffs = IRQ_vec+$14
The files I use I also included.
- Attachments
-
- 6502_EhBASIC_V2-2.22-master.zip
- (64.71 KiB) Downloaded 173 times
-
powersoft_51
- Posts: 51
- Joined: 22 Jun 2024
Re: Runing EHBasic on Kowalski Simulator
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?
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
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
Daryl
Please visit my website -> https://sbc.rictor.org/
-
powersoft_51
- Posts: 51
- Joined: 22 Jun 2024
Re: Runing EHBasic on Kowalski Simulator
THe are the copy's