kernel-mode #1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
venv
|
venv
|
||||||
__pycache__
|
__pycache__
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
|
@ -12,7 +12,7 @@ def _window_loop(textIO: 'TextIO'):
|
|||||||
import PySimpleGUI as sg
|
import PySimpleGUI as sg
|
||||||
|
|
||||||
logs = sg.Text(font="monospace")
|
logs = sg.Text(font="monospace")
|
||||||
col = sg.Column([[logs]], size=(1920, 1080), scrollable=True)
|
col = sg.Column([[logs]], size=(640, 400), scrollable=True)
|
||||||
window = sg.Window("TextIO:{:x}".format(textIO.addr), [[col]])
|
window = sg.Window("TextIO:{:x}".format(textIO.addr), [[col]])
|
||||||
lines = list()
|
lines = list()
|
||||||
|
|
||||||
|
@ -88,4 +88,4 @@ class TimerInterrupt(CpuTrap):
|
|||||||
|
|
||||||
class EcallTrap(CpuTrap):
|
class EcallTrap(CpuTrap):
|
||||||
def __init__(self, mode: PrivModes):
|
def __init__(self, mode: PrivModes):
|
||||||
super().__init__(mode.value + 8, 0, CpuTrapType.SOFTWARE)
|
super().__init__(mode.value + 8, 0, CpuTrapType.EXCEPTION)
|
||||||
|
Loading…
Reference in New Issue
Block a user