Capture status quo opcodes.

This commit is contained in:
Brad Nelson
2022-01-31 20:09:27 -08:00
parent ed2895edad
commit 80372f9857
4 changed files with 144 additions and 12 deletions

View File

@ -205,11 +205,10 @@ e: check-boot
out: ( out: (
;e ;e
e: check-builtin e: check-core-opcodes
out: ; out: ;
out: EXIT out: EXIT
out: : out: :
out: YIELD
out: IMMEDIATE out: IMMEDIATE
out: DOES> out: DOES>
out: CREATE out: CREATE
@ -248,6 +247,9 @@ e: check-builtin
out: + out: +
out: 0< out: 0<
out: 0= out: 0=
;e
e: check-float-opcodes
out: F>S out: F>S
out: S>F out: S>F
out: 1/F out: 1/F
@ -388,12 +390,14 @@ e: check-phase1
check-vocabulary check-vocabulary
check-[]conds check-[]conds
check-boot check-boot
check-builtin ;e
e: check-desktop
check-args
check-ansi
;e ;e
e: check-phase2 e: check-phase2
check-args
check-ansi
check-blocks check-blocks
out: streams out: streams
check-highlevel check-highlevel
@ -406,7 +410,7 @@ e: check-phase2
DEFINED? windows [IF] DEFINED? windows [IF]
e: test-forth-namespace e: test-windows-forth-namespace
internals voclist internals voclist
out: ansi out: ansi
out: editor out: editor
@ -417,9 +421,10 @@ e: test-forth-namespace
out: FORTH out: FORTH
;e ;e
e: test-forth-namespace e: test-windows-forth-namespace
' forth list-from ' forth list-from
out: FORTH out: FORTH
check-desktop
check-phase2 check-phase2
check-allocation check-allocation
out: ok out: ok
@ -431,13 +436,15 @@ e: test-forth-namespace
out: default-type out: default-type
out: windows out: windows
check-phase1 check-phase1
check-core-opcodes
check-float-opcodes
out: LOADLIBRARYA out: LOADLIBRARYA
out: GETPROCADDRESS out: GETPROCADDRESS
;e ;e
[ELSE] DEFINED? posix [IF] [ELSE] DEFINED? posix [IF]
e: test-forth-namespace e: test-posix-forth-namespace
internals voclist internals voclist
out: web-interface out: web-interface
out: httpd out: httpd
@ -453,13 +460,14 @@ e: test-forth-namespace
out: FORTH out: FORTH
;e ;e
e: test-forth-namespace e: test-posix-forth-namespace
' forth list-from ' forth list-from
out: FORTH out: FORTH
out: web-interface out: web-interface
out: httpd out: httpd
out: telnetd out: telnetd
out: sockets out: sockets
check-desktop
check-phase2 check-phase2
out: form out: form
out: termios out: termios
@ -474,7 +482,131 @@ e: test-forth-namespace
out: default-type out: default-type
out: posix out: posix
check-phase1 check-phase1
check-core-opcodes
check-float-opcodes
out: DLSYM out: DLSYM
;e ;e
[ELSE]
e: test-esp32-forth-namespace
internals voclist
out: ansi
out: camera-server
out: camera
out: telnetd
out: timers
out: registers
out: web-interface
out: httpd
out: oled
out: bluetooth
out: rtos
out: rmt
out: interrupts
out: sockets
out: Serial
out: ledc
out: SPIFFS
out: spi_flash
out: SD_MMC
out: SD
out: WiFi
out: WebServer
out: Wire
out: editor
out: streams
out: tasks
out: internals
out: FORTH
;e
e: check-esp32-basics
out: LED
out: OUTPUT
out: INPUT
out: HIGH
out: LOW
out: page
out: tone
out: freq
out: duty
out: adc
out: pin
;e
e: check-esp32-basics2
out: esp_partition_t_size
out: OledBegin
out: OledAddr
out: timer_isr_register
out: setsockopt
out: MDNS.begin
out: dacWrite
out: NON-BLOCK
out: FILE-SIZE
out: RESIZE-FILE
out: REPOSITION-FILE
out: FILE-POSITION
out: READ-FILE
out: WRITE-FILE
out: DELETE-FILE
out: CREATE-FILE
out: OPEN-FILE
out: FLUSH-FILE
out: CLOSE-FILE
out: BIN
out: W/O
out: R/W
out: R/O
out: TERMINATE
out: MS-TICKS
out: pulseIn
out: analogRead
out: digitalRead
out: digitalWrite
out: pinMode
;e
e: test-esp32-forth-namespace
' forth list-from
out: FORTH
out: camera-server
out: camera
out: telnetd
out: bterm
out: timers
out: registers
out: webui
out: login
out: web-interface
out: httpd
out: oled
out: bluetooth
out: rtos
out: rmt
out: interrupts
out: sockets
out: Serial
out: ledc
out: SPIFFS
out: spi_flash
out: SD_MMC
out: SD
out: WiFi
out: WebServer
out: Wire
out: ok
check-esp32-basics
out: default-key?
out: default-key
out: default-type
check-phase2
check-allocation
check-phase1
check-core-opcodes
check-esp32-basics2
check-float-opcodes
;e
[THEN] [THEN] [THEN] [THEN]

View File

@ -26,7 +26,7 @@ DEFINED? windows [IF]
[THEN] [THEN]
( Support for eval tests ) ( Support for eval tests )
10000 constant expect-limit 20000 constant expect-limit
create expect-buffer expect-limit allot create expect-buffer expect-limit allot
create result-buffer expect-limit allot create result-buffer expect-limit allot
variable expect-used variable result-used variable expect-used variable result-used

View File

@ -48,7 +48,7 @@ variable scope scope context cell - !
transfer{ transfer{
xt-find& xt-hide xt-transfer xt-find& xt-hide xt-transfer
voc-stack-end last-vocabulary voc-stack-end last-vocabulary
branch 0branch donext dolit yield branch 0branch donext dolit
'context 'notfound notfound 'context 'notfound notfound
immediate? input-buffer ?echo ?arrow. arrow immediate? input-buffer ?echo ?arrow. arrow
evaluate1 evaluate-buffer evaluate1 evaluate-buffer

View File

@ -14,7 +14,7 @@
( Add a yielding task so pause yields ) ( Add a yielding task so pause yields )
internals definitions internals definitions
transfer{ yield raw-yield }transfer transfer{ raw-yield }transfer
: yield-step raw-yield yield ; : yield-step raw-yield yield ;
' yield-step 100 100 task yield-task ' yield-step 100 100 task yield-task
yield-task start-task yield-task start-task