Search found 30 matches
- Thu Mar 06, 2025 12:06 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
Finally! Just hacked the backslash glyph too.. If only I had more time right now to look at that editor! 
- Wed Mar 05, 2025 10:25 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
It sounds like you are on a reasonable path that has a good chance of success.
I had a bit of spare time.. I tried a few things but ultimately I replaced the Fake6502 with the Fake65 C 02 version from C65 and here's the result:
TaliWorks1.png
(It works!)
The first keypress checking program ...
I had a bit of spare time.. I tried a few things but ultimately I replaced the Fake6502 with the Fake65 C 02 version from C65 and here's the result:
TaliWorks1.png
(It works!)
The first keypress checking program ...
- Sat Mar 01, 2025 11:25 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
To help with your screen editor approach, you have several options.
Your options include (but are not limited to):
A: Modify ACCEPT to use your screen editor and copy the line where ENTER was pressed into the given buffer location (will have to handle the case where the line has more characters ...
Your options include (but are not limited to):
A: Modify ACCEPT to use your screen editor and copy the line where ENTER was pressed into the given buffer location (will have to handle the case where the line has more characters ...
- Sat Mar 01, 2025 11:22 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
Can you verify that the Forth code you are trying to compile works in either c65 or py65mon? If so, that would point to an issue with your simulator. I will double-check today and verify the version you are using works on real hardware.
Yes, it definitely works fine with C65 and that's using the ...
Yes, it definitely works fine with C65 and that's using the ...
- Sat Mar 01, 2025 1:32 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
8D81 where underflow_1 is called at the beginning of PARSE - the underflow-1 routine makes sure there is at least 1 item on the stack.
..
The underflow_1 routine will complain and give a stack trace when the value in the X register (which holds the Forth data stack pointer) indicates there is less ...
..
The underflow_1 routine will complain and give a stack trace when the value in the X register (which holds the Forth data stack pointer) indicates there is less ...
- Fri Feb 28, 2025 7:31 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
The last one is you, but it's a simple fix - you just need to put the 42 on the stack before calling EMIT.
That doesn't surprise me. I thought I'd copied directly from my Starting Forth book but it was at the end of the day. Thanks for that one :)
The underflow_1 routine will complain and give ...
That doesn't surprise me. I thought I'd copied directly from my Starting Forth book but it was at the end of the day. Thanks for that one :)
The underflow_1 routine will complain and give ...
- Fri Feb 28, 2025 5:18 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
The manual is in the middle of getting some updates for changes made recently, so you may want to hold off on the spiral bound version, but thanks for the compliment. Scot Stevenson, the original author, was big on documentation and put a lot of effort into the manual. I try to keep it up to date ...
- Tue Feb 25, 2025 5:50 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
That looks great. The default behavior of BYE is to run a BRK instruction, and the default ISR vector for BRK instructions (or any interrupts, really) is kernel_init, so the fact it starts over again is expected behavior. You can write a new kernel_bye if you have an OS or monitor you would like to ...
- Tue Feb 25, 2025 4:57 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 TaliForth2 Implementation Questions
The listing for taliforth-py65mon will end up in the file docs/py65mon-listing.txt and there is a labelmap there too if that's helpful.
Well I seem to be getting somewhere.. My "screen" was actually an editor similar to the C64 but I've been changing it to do the simple PUTCH/GETCH behaviour. My ...
Well I seem to be getting somewhere.. My "screen" was actually an editor similar to the C64 but I've been changing it to do the simple PUTCH/GETCH behaviour. My ...
- Tue Feb 25, 2025 12:46 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 fig-Forth Extensions
There are no BRK instructions in Tali itself
My disassembler text was wrong. Instead of looking up opcode names at the PC, it was just using a bogus pointer. Now I have the code executing from $8000. I can see the CLD followed by the LDA/STA pair that store the address of kernel_putc. Because I'm ...
My disassembler text was wrong. Instead of looking up opcode names at the PC, it was just using a bogus pointer. Now I have the code executing from $8000. I can see the CLD followed by the LDA/STA pair that store the address of kernel_putc. Because I'm ...
- Mon Feb 24, 2025 10:58 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 fig-Forth Extensions
There are no BRK instructions in Tali itself except for one in the word BYE, but I believe the unused areas in the bin file are zero filled so those will show up as BRK if you accidentally try to run code there. That reminds me - I believe you end up in a series of BRK instructions if the CPU is a ...
- Mon Feb 24, 2025 8:36 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 fig-Forth Extensions
If you need any help, there's a Tali-specific thread here you can ask questions in:
http://forum.6502.org/viewtopic.php?f=9&t=2926
..
What Windows app do you use for simulation?
I installed MinGW and build the C65 version to try it out over the weekend (I admit I have been busy with other ...
http://forum.6502.org/viewtopic.php?f=9&t=2926
..
What Windows app do you use for simulation?
I installed MinGW and build the C65 version to try it out over the weekend (I admit I have been busy with other ...
- Sat Feb 22, 2025 12:36 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 fig-Forth Extensions
If your homebrew system has a 65 C 02 in it, I'll also put in a shameless plug for Tali Forth 2:
https://github.com/SamCoVT/TaliForth2
It's a significantly faster forth than FIG and is generally easy to port to new hardware (see the manual in the docs folder). It does require a 65C02 (won't run ...
https://github.com/SamCoVT/TaliForth2
It's a significantly faster forth than FIG and is generally easy to port to new hardware (see the manual in the docs folder). It does require a 65C02 (won't run ...
- Fri Feb 21, 2025 8:04 pm
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
Re: 6502 fig-Forth Extensions
Once you get your word (written in Forth) working, then you can add it to the assembly source. You'll need to learn how to access the Forth data stack from assembly, and you'll need to add your word to the vocabulary linked list. When you get that far, let us know and we can help.
Yeah that's ...
- Fri Feb 21, 2025 2:36 am
- Forum: Forth
- Topic: 6502 TaliForth2 Implementation Questions
- Replies: 31
- Views: 9129
6502 TaliForth2 Implementation Questions
After watching some Youtube videos on C64 White Lightning.. I have a new itch..
I have a virtual 6502 machine that I've played around with on Windows. I've made a simple Vic 20 emulator, BBC BASIC emulator and other things.. Now I'm thinking about building a copy of fig-Forth and creating some ...
I have a virtual 6502 machine that I've played around with on Windows. I've made a simple Vic 20 emulator, BBC BASIC emulator and other things.. Now I'm thinking about building a copy of fig-Forth and creating some ...