Search found 5 matches

by Jopo12321
Sun May 24, 2020 8:51 am
Forum: Newbies
Topic: Problem compiling EhBasic with vasm
Replies: 13
Views: 3023

Re: Problem compiling EhBasic with vasm

After looking for error I also found vasm can't work with constants in .IF so I commented these block an after compiling code and comparing with binaries from simulator they were same. So I guess I should be okay then right?
by Jopo12321
Sat May 23, 2020 9:42 pm
Forum: Newbies
Topic: Problem compiling EhBasic with vasm
Replies: 13
Views: 3023

Re: Problem compiling EhBasic with vasm

I also tried something with code an now I only got 2 errors after compiling.

expression must be constant
.IF (* & $FF) == $FD

What does * means in this IF statement?
by Jopo12321
Sat May 23, 2020 9:23 pm
Forum: Newbies
Topic: Problem compiling EhBasic with vasm
Replies: 13
Views: 3023

Re: Problem compiling EhBasic with vasm

BigEd wrote:
(I'm assuming you've got some way to get Basic into ROM, and you want your extra code also to be in ROM)
Yes just like you said. If I would understand these macros better I could make it work I guess. I have a lot to learn. Anyway Thank you very much for help and advice.
by Jopo12321
Sat May 23, 2020 7:37 pm
Forum: Newbies
Topic: Problem compiling EhBasic with vasm
Replies: 13
Views: 3023

Re: Problem compiling EhBasic with vasm

Thank you for reply. :)

Okay I understand now. So if I want to add some mine code which will be separate from EhBasic I still need to use assembler from simulator? Or there is way to combine them?
because like I said I would like to add some mine programs and let EhBasic stay in memory so I can ...
by Jopo12321
Sat May 23, 2020 7:07 pm
Forum: Newbies
Topic: Problem compiling EhBasic with vasm
Replies: 13
Views: 3023

Problem compiling EhBasic with vasm

Hello,

I recently build my own 6502 computer thanks to Ben eater videos and also examples and tutorials from this forum. I also wanted to get EhBasic running so I set up everything like in reference manual compile it with simulator and it worked fine with my computer. So I decided to also add my ...