Increase TX and RX buffer size to 128 bytes

This commit is contained in:
2026-03-20 12:45:43 +00:00
parent 67fc1d8d7b
commit fe5c55cabf
4 changed files with 34 additions and 35 deletions

View File

@@ -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