Commit graph

7 commits

Author SHA1 Message Date
JetSetIlly
393904abcb simplification of the memory sub-system
- preparation for adding 7800 emulation

cpu (6507) package uncoupled from upstream dependencies

- cpu no longer logs execution of KIL instruction
- randomisation of registers on startup can be handled by the called of
  the cpu's Reset() function
- address errors are filtered by an optional IsAddressError() function
  in the Memory interface implementation
- Error field removed from execution.Result type

all references to interface{} replaced with any
2024-11-23 14:56:37 +00:00
JetSetIlly
3aa5885ebe removed curated pacakge. replaced with wrapped errors
curated package predated the standard errors package introduced in
go1.13

the standard package does a better job of what curated attempted to do

the change of package also gave me a opportunity to clean up the error
messages a little bit
2023-02-13 21:58:39 +00:00
JetSetIlly
d830f49f72 renamed MapAddress() in dbgmem package to GetAddressInfo()
the new name is a better description of what the function does
2022-10-20 13:54:50 +01:00
JetSetIlly
f9b1d284a4 SYMBOL command searches label table
refined how address info is printed by SYMBOL command for all search
tables
2022-02-18 10:12:07 +00:00
JetSetIlly
f2fb0091e7 simplified/clarified memory interface
addresses and bus interface removed and split into cpubus and chipbus
packages.

ReadZeroPage() no longer has any distinction from normal Read()
function.
2021-12-26 19:00:11 +00:00
JetSetIlly
b9e2e4c6dc dbgmem.Poke works with "read" addresses and calls MapAddress() appropriately
although the words "read" and "write" might lead us to think that we
"peek" from "read" addresses and "poke" to "write" addresses, it is in
fact necessary to "poke" to "read" addresses.

on the surface this doesn't appear to be correct but on further thought
it is obviously true - we are in fact changing the value that is
subsequently read by the CPU, so that means poking to a read address.
2021-12-23 16:13:11 +00:00
JetSetIlly
250dedcd2d moved debugger/memory.go to a new dbgmem package 2021-10-10 11:52:30 +01:00