Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 20 to 20 | ||||||||
Changed: | ||||||||
< < | rcforth and IDIOT Monitor on MSC | |||||||
> > | rcforth and IDIOT Monitor for RaspiElf (Membership Card) | |||||||
Changed: | ||||||||
< < | Mark Abene made FORTH work on the Memebership Card. | |||||||
> > | Mark Abene made FORTH work on the Membership Card. | |||||||
| ||||||||
Changed: | ||||||||
< < | I concatenated this two files as msc-forth.hex and converted to a binary file: | |||||||
> > | I concatenated this two files as mc-forth.hex and converted to a binary file: | |||||||
Changed: | ||||||||
< < | pi@cosmac:~/elf/forth $ cat idiot_new.hex forth.hex > msc-forth.hex pi@cosmac:~/elf/forth $ hex2bin msc-forth.hex | |||||||
> > | pi@cosmac:~/elf/forth $ cat idiot_new.hex forth.hex > mc-forth.hex pi@cosmac:~/elf/forth $ hex2bin mc-forth.hex | |||||||
hex2bin v2.5, Copyright (C) 2017 Jacques Pelletier & contributors Allocate_Memory_and_Rewind: | ||||||||
Line: 47 to 47 | ||||||||
insgesamt 40 -rw-r--r-- 1 pi pi 12132 Jan 13 12:36 forth.hex -rw-r--r-- 1 pi pi 2890 Jan 13 12:36 idiot_new.hex | ||||||||
Changed: | ||||||||
< < | -rw-r--r-- 1 pi pi 5684 Jan 13 12:41 msc-forth.bin -rw-r--r-- 1 pi pi 15022 Jan 13 12:36 msc-forth.hex | |||||||
> > | -rw-r--r-- 1 pi pi 5684 Jan 13 12:41 mc-forth.bin -rw-r--r-- 1 pi pi 15022 Jan 13 12:36 mc-forth.hex | |||||||
Changed: | ||||||||
< < | Now upload and start msc-forth: | |||||||
> > | Now upload and start mc-forth: | |||||||
Changed: | ||||||||
< < | pi@cosmac:~/elf/RaspiElf/chase $ bin2elf -w -r msc-forth.bin | |||||||
> > | pi@cosmac:~/elf/RaspiElf/chase $ bin2elf -w -r mc-forth.bin | |||||||
0x1634 bytes written | ||||||||
Line: 61 to 61 | ||||||||
pi@cosmac:~/elf/RaspiElf/chase $ microcom -s 2400 | ||||||||
Added: | ||||||||
> > | The Q/EF3 LED is orange, that means EF3 is inverted. | |||||||
Changed: | ||||||||
< < | Serial EEPROMe.g. AT25M02 SPI EEPROM 2Mbit (256 KiB) http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8832C-SEEPROM-AT25M02-Datasheet.pdf![]() | |||||||
> > |
Serial Communication by Input/Output Ports (switches and LEDs)Another solution could be to use part of the Membership Card's input/output ports (Switches/LEDs). e.g. Serial Peripheral Interface, MSC is the SPI master, the host is the slave:CLK MSC ->- host MOSI MSC ->- host MISO MSC -<- host SS MSC ->- host or other peripherals (optional)You loose two LEDs and one switch. Serial EEPROMe.g. AT25M02![]() Raspberry emulating SPI EEPROMOn RaspiElf switches/LEDs are already connected to Raspi's GPIOs. No need for additional hardware.Kermit/ZModemWhat about using KERMIT or ZMODEM protocol for the file transfer and use the file system on the host? No need to add additional hardware (SD-card is anyway to modern![]() Spare Time Gizmo’s ELF2K ROM for RaspiElfhttp://www.retrotechnology.com/memship/elf2k_mship.html![]() pi@cosmac:~/elf/elf2k $ cp v88.hex v88.hex.org pi@cosmac:~/elf/elf2k $ patch v88.hex v88-mc.patch pi@cosmac:~/elf/elf2k $ hex2bin v88.hex hex2bin v2.5, Copyright (C) 2017 Jacques Pelletier & contributors Allocate_Memory_and_Rewind: Lowest address: 00000000 Highest address: 00007FFF Starting address: 00000000 Max Length: 32768 Binary file start = 00000000 Records start = 00000000 Highest address = 00007FFF Pad Byte = FF pi@cosmac:~/elf/elf2k $ bin2elf -s 8000 v88.bin 0x8000 bytes written pi@cosmac:~/elf/elf2k $ bin2elf -w -r LBR_8000.bin 0x0003 bytes written pi@cosmac:~/elf/elf2k $But there is "Post Code 97" -> EPROM checksum wrong | |||||||
Added: | ||||||||
> > | ||||||||
-- ![]() Comments | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Forth for the Membership Card
Intro
Computers are machines just like the marionette. They must be told exactly what to do, in specific language. And so we need a language which possesses two seemingly opposite traits:
On the one hand, it must be precise in its meaning to the computer, conveying all the information that the computer needs to know to perform the operation. On the other hand, it must be simple and easy-to-use by the programmer.
From chapter "Introduction for Beginners", Leo Brodie, Starting FORTH
https://www.forth.com/starting-forth/
![]() rcforth and IDIOT Monitor on MSCMark Abene made FORTH work on the Memebership Card.
pi@cosmac:~/elf/forth $ cat idiot_new.hex forth.hex > msc-forth.hex pi@cosmac:~/elf/forth $ hex2bin msc-forth.hex hex2bin v2.5, Copyright (C) 2017 Jacques Pelletier & contributors Allocate_Memory_and_Rewind: Lowest address: 00000000 Highest address: 00001633 Starting address: 00000000 Max Length: 5684 Binary file start = 00000000 Records start = 00000000 Highest address = 00001633 Pad Byte = FF pi@cosmac:~/elf/forth $ ls -l insgesamt 40 -rw-r--r-- 1 pi pi 12132 Jan 13 12:36 forth.hex -rw-r--r-- 1 pi pi 2890 Jan 13 12:36 idiot_new.hex -rw-r--r-- 1 pi pi 5684 Jan 13 12:41 msc-forth.bin -rw-r--r-- 1 pi pi 15022 Jan 13 12:36 msc-forth.hexNow upload and start msc-forth: pi@cosmac:~/elf/RaspiElf/chase $ bin2elf -w -r msc-forth.bin 0x1634 bytes writtenand start the terminal emulator (console): pi@cosmac:~/elf/RaspiElf/chase $ microcom -s 2400 Mass storageSerial EEPROMe.g. AT25M02 SPI EEPROM 2Mbit (256 KiB) http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8832C-SEEPROM-AT25M02-Datasheet.pdf![]() ![]() Comments |