You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
10 lines
319 B
Python
10 lines
319 B
Python
# This example shows how to access Video BIOS memory area via machine.mem
|
|
# It requires root privilege and x86 legacy harfware (which has mentioned
|
|
# Video BIOS at all).
|
|
# It is expected to print 0xaa55, which is a signature at the start of
|
|
# Video BIOS.
|
|
|
|
import umachine as machine
|
|
|
|
print(hex(machine.mem16[0xc0000]))
|