Increase TX and RX buffer size to 128 bytes
This commit is contained in:
16
wipforth.ws
16
wipforth.ws
@@ -2,12 +2,12 @@
|
||||
.import main "emu" "mem"
|
||||
|
||||
;; Peripheral registers
|
||||
.def TXBUF 00h
|
||||
.def RXBUF 20h
|
||||
.def TXHEAD 40h
|
||||
.def TXTAIL 44h
|
||||
.def RXHEAD 48h
|
||||
.def RXTAIL 4Ch
|
||||
.def TXBUF 000h
|
||||
.def RXBUF 080h
|
||||
.def TXHEAD 100h
|
||||
.def TXTAIL 104h
|
||||
.def RXHEAD 108h
|
||||
.def RXTAIL 10Ch
|
||||
|
||||
.def DICT_START 0200h
|
||||
|
||||
@@ -752,7 +752,7 @@
|
||||
local.get head
|
||||
i32.const 1
|
||||
i32.add
|
||||
i32.const 1Fh
|
||||
i32.const 7Fh
|
||||
i32.and
|
||||
i32.atomic.store8 0 0
|
||||
|
||||
@@ -768,7 +768,7 @@
|
||||
local.tee tail
|
||||
i32.const 1
|
||||
i32.add
|
||||
i32.const 1Fh
|
||||
i32.const 7Fh
|
||||
i32.and
|
||||
local.tee n
|
||||
i32.const TXHEAD
|
||||
|
||||
Reference in New Issue
Block a user