figForth and serial communication?

27 views
Skip to first unread message

Kande Laber

unread,
May 5, 2025, 10:35:43 AMMay 5
to PAL 6502 computer
Hi everybody,

I just soldered my PAL-1 ROM extension.
Tested it with figForth.
Basically it works (see minicom output below).
But when invokeing "VLIST" I get these "�" at the end of each word (see also below).

Any idea how to fix that?

Best regards

---------------------- minicom output ---------------------- 
 

KIM                                                                            
                                                                               
A000 4C g                                                                      
                                                                               
                                                                               
A001 0F A000                                                                    
                                                                               
A000 4C G                                                                      
                                                                               
PAL-1 ROM Loader v1.0                                                          
                                                                               
                                                                               
                                                                               
(B)ASIC, (F)ORTH, eWo(z) Monitor, or e(X)it? F                                  
                                                                               
Starting FIG FORTH...                                                          
                                                                               
                                                                               
                                                                               
fig-FORTH  1.1                                                                  
                                                                               
: CUBE DUP DUP * * . ;                                                          
                                                                               
                                                                               
OK                                                                              
                                                                               
3 CUBE                                                                          
                                                                               
                                                                               
27 OK                                                                          
                                                                               
4 CUBE                                                                          
                                                                               
                                                                               
64 OK                                                                          
                                                                               
VLIST                                                                          
                                                                               
                                                                               
                                                                               
                                                                               
CUB�   MO�   VLIS�   TRIA�   INDE�   LIS�   �   �   .�   D�   D.�              
                                                                               
#�   �   SIG�   #�   <�   SPACE�   WHIL�   ELS�   I�   REPEA�   AGAI�          
                                                                               
EN�   UNTI�   +LOO�   LOO�   D�   THE�   ENDI�   BEGI�   BAC�   FORGE�          

Hans Otten

unread,
May 5, 2025, 11:07:56 AMMay 5
to PAL 6502 computer
Set your terminal emulator to 7 bit.
This looks like the 8 bit is set on strings to indicate end of string.

There should be a AND $7F added to the output routine of figforth source.

Kande Laber

unread,
May 8, 2025, 2:15:48 AMMay 8
to PAL 6502 computer
Thanks a lot. 7 bit works.

Looking at the source code of figForth, I kind of understand, why "a AND $7F" was NOT added to the output routine.
Because this would cripple the historical code and this may harm the retro feeling.

Seems that retro people many times have to do this trade offs.

Reply all
Reply to author
Forward
0 new messages