Difference: McForth (13 vs. 14)

Revision 142019-01-19 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 19 to 19
 
Changed:
<
<
>
>
Rc/Forth and IDIOT Monitor for RaspiElf (Membership Card)
 

Rc/Forth and IDIOT Monitor for RaspiElf (Membership Card)

Mark Abene made FORTH work on the Membership Card.

Line: 78 to 78
 *
Changed:
<
<
>
>
Rc/Forth and Chuck's Super Monitor for RaspiElf (Membership Card)
 

Rc/Forth and Chuck's Super Monitor for RaspiElf (Membership Card)

Mark Abene made Rc/Forth also work with Chuck's Super Monitor. I prefer this monitor because of its ability to communicate with 9600 baud.

Line: 122 to 122
 ok
Changed:
<
<
>
>
Night Rider in Rc/Forth
 

Night Rider in Rc/Forth

See ChaseLighting for an assembler version (much faster of course).
Line: 148 to 148
  Push the IN button to terminate the program.
Changed:
<
<
>
>
Mass storage
 

Mass storage

Forth without mass storage (blocks, screens) is a not complete. A SD-Card interface could be a reasonable solution but this is an overkill for a small Forth system.
Line: 173 to 173
 While in Hold mode, the SO pin will be in a high impedance state. In addition, both the SI pin and the SCK pin will be ignored.
Changed:
<
<
25LC512 25LC1024 Instruction Set
>
>
25LCxxxx Instruction Set
 
Name Format Description
READ 0000 0011 Read data from memory array beginning at selected address
WRITE 0000 0010 Write data to memory array beginning at selected address
Line: 240 to 240
  ; MSB first
Added:
>
>
READBYTE:
  LDI 0 PLO R5 LDI 0xFF
Line: 255 to 256
  SHRC GLO R5 B4 SETBIT ; branch if bit set
Changed:
<
<
SHR ; bit not set
>
>
SHL ; bit not set
  BR SAVEBIT SETBIT:
Changed:
<
<
SHRC
>
>
SHLC
 SAVEBIT: PLO R5 GLO R6
Line: 267 to 268
  about 230 cycles for one byte -> 1 ms -> 1 KiB takes about 1 s @ 1.79 MHz
Changed:
<
<
>
>

Write Byte

WRITEBYTE:
        LDI     0
        PHI     R6
        LDI     8
        PLO     R6
        SEX     R0
BITLOOP:
        GLO     R5           ; get the next bit
        SHLC                 , next bit is in the carry
        PLO     R5
        BDF     SETBIT
        OUT4,0b01000000      ; CLK for SPI with data bit cleared
        OUT4,0b00000000
        BR      NEXT
SETBIT:
        OUT4,0b11000000      ; CLK for SPI with data bit set 
        OUT4,0b10000000
NEXT:      
        DEC     R6
        GLO     R6
        BNZ     BITLOOP
 

Serial EEPROM patched on MC PCB

Line: 315 to 339
 

Write Byte

Changed:
<
<
>
>
WRITEBYTE:
        LDI     0
        PHI     R6
        LDI     8
        PLO     R6
        SEX     R0
BITLOOP:
        GLO     R5           ; get the next bit
        SHLC                 , next bit is in the carry
        PLO     R5
        LSNF
        OUT2,0b00000000      ; CLK for SPI with data bit cleared
        LSDF
        OUT2,0b00000001      ; CLK for SPI with data bit set 
NEXT:      
        DEC     R6
        GLO     R6
        BNZ     BITLOOP
 

Kermit/ZModem

What about using KERMIT or ZMODEM protocol for the file transfer and use
Line: 327 to 370
 https://github.com/utoh/pygmy-forth/blob/master/extras/kermit/pfkerm.doc

Changed:
<
<
>
>
Spare Time Gizmo’s ELF2K ROM for RaspiElf
 

Spare Time Gizmo’s ELF2K ROM for RaspiElf

Herb Johnson's ELF 2K ROM for 1802 Membership Card

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback