Assembly Language ESP Module - fvdhoef/aquarius-plus GitHub Wiki

ESP Module

This module contains routines for sending commands to, reading from, and writing to the ESP32.


esp_read_paged

Read bytes from ESP to paged memory.
Input A: _file descriptor
BC: number of bytes to read
DE: destination address
H: destination page
Output A: result
BC: number of bytes read
DE: next address after read
H: destination page
L: file descriptor

Review/update following

esp_send_byte

Sends a byte to to the ESP2.
Input A: Byte to send

esp_send_bytes

Send bytes from main memory to ESP32.
Input DE: Starting address
BC: Number of bytes to write
Output BC: Number of bytes written
Clobbered A,DE

esp__send_strdesc

Send string pointed to by string descriptor.
Input HL: String descriptor address
Clobbered AF',BC',DE',HL'

esp_send_string

Send string to ESP32.
Input DE: String address
BC: String length
Output BC: Number of bytes written
*Clobbered A,DE,HL
⚠️ **GitHub.com Fallback** ⚠️