Document fait avec Nvu Document made with Nvu
acceuilnouveautesintroductioncoeurmini_systemepages_techniquesrevue_de_presselienscourriel


 coeur

Specific instructions

Here is the description of the instructions that are bound at your choice by the FPGA containing the FORTH core and that concern so mainly interfaces. You can also open the page dedicated to the detailed description of all the instructions of the FORTH kernel.For those that are create in various software packages application software, files contain this description in their comments.

- INTERRUPT_VECTORS address

Address of the FORTH core vectors area

- CW_PA number

- CW_PR number

- CW_PNTT number

- CW_PNTR number

- CW_CE number

- CW_SA number

- CW_SPA number

- CW_SPR number

- CW_SCE number

- CW_TIMER number

- CW_UART_BAUD number

- CW_UART_CTRL number

- CW_UART_DATA number

- CW_DATA_STACK number

- CW_RETURN_STACK number

Numbers of the various extension registers (16 bits words) of the FORTH core.
These numbers should be used exclusively with the following 2 specific instructions:

number CW@ n

Reading of the extension word ( 16 bits) pointed by number.
The most significant 16 bits of n take the value of the most significant bit of the read word

n, number CW! -

Writing of the value n (les significant 16 bits) in the extension register pointed by number

- FPGA_IT address

Address of the interruption program of FPGA

- FPGA_IT+ address

Address of the vector allowing to complete the interruption program of FPGA

- FPGA_INIT -

Initialization of FPGA

- RS232_RECEIVE_FILE address

Row of reception of the serial link of FPGA

- RS232_TRANSMIT_FILE address

Row of broadcast of serial link of FPGA

speed,nbbits,nbstop,parity,rts/cts RS232_INIT -

Initialization for the serial link of FPGA:
speed in number of bits by second (all the speeds normalized between 7200 and 115200 bauds),
nbbits always 8 ,
nbstop always 1 ,
parity always odd (2),
rts/cts always inactivated (0)

byte RS232_EMET -

Broadcast of a byte on the serial link of FPGA

- RS232_RECOIT byte

Reception of a byte from the serial link of FPGA

- T_RS232_CONNECTE address

Task making connection enters serial A of the 68681 and the input/output of the interpreter FORTH (instructions " KEY ", " INKEY ", " KEYBOARD " and "EMIT")