Commit graph

2087 commits

Author SHA1 Message Date
JetSetIlly
ca0b6ffe18 refined hotload functionality. only enabled for CDF carts
still not really useful except for simple CDF carts
2022-04-22 14:32:28 +01:00
JetSetIlly
a8456680c8 dropped the "array" label for DWARF types. arrays can be indicated by []
discard variable if address is zero. not sure why this happens but it
seems to occur if a (global) variable is declared but never accessed, so
maybe something to do with optimisation.
2022-04-21 23:06:21 +01:00
JetSetIlly
efbdafd25b DWARF variables sorted case-insensitively 2022-04-21 17:28:37 +01:00
JetSetIlly
f2b5733a18 Capture Input button works more like ESC key in the debugger
Will capture & run, or capture & continue, or halt & release. Control
window button/label changes to reflect the current state.
2022-04-21 16:50:18 +01:00
JetSetIlly
57629ce18d fixed global variable window tree nodes
the map of which tree nodes are open should now be unique. previously,
branches that had the same label as another branch would clash, causing
branches to be considered open erroneously
2022-04-21 16:01:06 +01:00
JetSetIlly
2a7e10dafe DWARF handling of typedefs and unions 2022-04-21 15:53:02 +01:00
JetSetIlly
8348eabbd9 DWARF struct handling correction
more robust handling of address handling for struct members. now handles
member location expressed as ClassExprLoc in addition to ClassConstant

ExprLoc decoding does not support all opcodes but seems to handles
enough for our current purposes
2022-04-21 14:05:46 +01:00
JetSetIlly
408ddcbde5 DWARF array handling correction
length of array correctly reported to be total number of elements

elements in array variables are indicated by Name[I] rather than element I
2022-04-21 14:05:06 +01:00
JetSetIlly
e6dcde3426 DWARF handling of struct, union and array types 2022-04-20 21:56:43 +01:00
JetSetIlly
b0fb68178f CDF streams window is resizeable 2022-04-17 20:59:25 +01:00
JetSetIlly
b93f062912 globals window can show *all* globals form all compile units 2022-04-15 21:53:57 +01:00
JetSetIlly
37a409081b CDF stream window, drag and drop colour source
datastream tooltip shows detail of datastream underneath the cursor
2022-04-15 20:57:40 +01:00
JetSetIlly
5797466b29 global window shows hex/dec/bin value in tooltip for variable entry
DWARF type is bytesize aware
2022-04-15 17:12:55 +01:00
JetSetIlly
ae9bd2f5b1 fix for occassional coproc source window crash
coproc source window crashed on application start if it ended previous
execution in a collapsed state
2022-04-15 17:12:55 +01:00
JetSetIlly
baef998edb nil dereference protection in DWARF variable builder function
this can sometimes happen if an ELF file with DWARF data is found but
when the DWARF data doesn't match the binary
2022-04-14 17:39:31 +01:00
JetSetIlly
b6a82e3454 fixed DWARF variable parsing for GCC10
do not show file in globals window's combo box if globals list is empty
for the file
2022-04-14 11:54:54 +01:00
JetSetIlly
02f91de198 F4 bank switching scheme hard-wired to start from bank 0 and not bank 7 2022-04-13 14:16:43 +01:00
JetSetIlly
5b0990241c corrected how PlusROM containers handle CartStaticBus in the lazy values system 2022-04-13 09:26:58 +01:00
JetSetIlly
39c7969657 updated CDFJ+ mapper. now supports fast LDX/LDY and stream offsets 2022-04-12 20:20:04 +01:00
JetSetIlly
44e383923c reworking of CartStaticBus interface and related types
easier to look at and should be more flexible when going forward with
DWARF variable handling
2022-04-12 20:20:04 +01:00
JetSetIlly
65bd001d9c global variables window. proof of concept implementation.
ammended mapper.StaticBus to support Reading from address. some DPC+
features temporarily not available as a result
2022-04-12 20:20:04 +01:00
JetSetIlly
ffa8b808a6 decoding of DWARF variable information. globals of basic type only for now 2022-04-12 20:20:04 +01:00
JetSetIlly
897db2e0ea added SWCHB truth table to comment for deriveSWCHB() 2022-04-12 09:46:17 +01:00
JetSetIlly
2c5a543489 fixed logic behind SWCHA. it is not the same as SWCHB
SWCHB was working fine. logic for SWCHB was mistakenly applied to SWCHA
2022-04-11 23:04:45 +01:00
JetSetIlly
154442e4cb added CDF streaming window
clarified CDF implementation, particularly how registers are handled

increased the number of nominal datastream registers to the correct 32

update of DPC and DPC+ windows to mirror cosmetic changes in CDF
registers window

cosmetic changes to disabled widgets
2022-04-10 22:15:08 +01:00
JetSetIlly
8633e2e2e6 gamepad correctly raises the high bit of INPT0 (and INPT2 for right player)
Unplug() function correctly implemented for gampad, stick, paddle and keypad
2022-04-09 15:24:16 +01:00
JetSetIlly
3972842419 added left and right arguments for debugger and playmode
PERIPHERAL command now accepts AUTO parameter. this will (re)fingerprint
the cartridge and insert the "detected" peripheral

implementation temporary in lieu of an improved setup package
2022-04-09 15:24:16 +01:00
JetSetIlly
2800c911c8 ARM access of address 0x00 is treated as illegal (probably null derefernece) 2022-04-09 15:24:16 +01:00
JetSetIlly
fc431415f1 cross_windows make target deletes icon resource file on completion
cross_windows make target specifies "windowsgui" - changed for testing
purposes and now changed back
2022-04-06 22:30:08 +01:00
JetSetIlly
9f4ddb4f3f updated README 2022-04-06 15:20:41 +01:00
JetSetIlly
95c34cb7b2 tweaked default position/sizing for coprocessor developer windows 2022-04-06 15:11:00 +01:00
JetSetIlly
08cdd445b1 updated PlusROM network header 2022-04-06 14:55:02 +01:00
JetSetIlly
ad4df17735 updated golang.org/x/sys version
existing version did not work with 1.18 on MacOS
2022-04-06 13:41:38 +01:00
JetSetIlly
9fabdd215d TAB key works correctly in debugger if a GUI item (eg. the terminal) is activated
use of the TAB key to open the ROM selector still works in the debugger
but only if no GUI widget is active
2022-04-06 12:12:37 +01:00
JetSetIlly
b40bda4e82 repointed logo image to Gopher2600-Dev-Docs repository 2022-04-04 22:50:08 +01:00
JetSetIlly
9f5dd72b46 repointed screenshots to Gopher2600-Docs repository
removed all screenshots from this repository
2022-04-04 22:46:48 +01:00
JetSetIlly
91880c1c06 change wiki links to Gopher2600-Docs repository 2022-04-04 21:57:49 +01:00
JetSetIlly
5885c9e776 fixed race condition in instance caused by timeline
thumbnailer was running in a different goroutine to that which the state
being used to generate the thumbnail was create in. there's no way of
making that safe except through mutexes or similar. that's too much
overhead for something as inconsequential as a timeline thumbnailer

timeline thumbnailer now runs in the same goroutine as the main
emulation, bypassing these problems. scheduling of when thumbnailer runs
is now done manually

"Live" TIA Revision values replaced with atomics. small performance
improvement
2022-04-04 21:27:56 +01:00
JetSetIlly
e770932106 reloading a cartridge no longer reset breakpoints etc.
this includes reloading the same cartridge via the file requester.
similarity is based on file location rather than ROM hash
2022-04-03 17:19:06 +01:00
JetSetIlly
7ccdb8487c improved comment highlighting. added string literal highlighting
toggle button in source window for comment/string highlighting
2022-04-02 11:42:37 +01:00
JetSetIlly
eac90734c6 basic comment highlighting in CoProc source window 2022-04-01 18:43:38 +01:00
JetSetIlly
b71aca08d7 Ctrl+Tab calls ReloadCartridge() instead of InsertCartridge()
completes change started in 03997bc8d0
2022-04-01 18:43:38 +01:00
JetSetIlly
03997bc8d0 reload cartridge will preserve the currently selected TV specification 2022-04-01 18:05:57 +01:00
JetSetIlly
46b16ea4b4 CPU window indicates KIL state
reworked how colour buttons are displayed
2022-03-30 09:49:13 +01:00
JetSetIlly
f5ff6f4f26 implemented all remaining 6507 instructions 2022-03-30 08:30:51 +01:00
JetSetIlly
227a513e5a "randomise state (on startup)" now affects CDF cartridges
it does not affect DPC+ cartridges because those RAM areas are
initialised from the ROM, which may be non-zero
2022-03-29 17:44:35 +01:00
JetSetIlly
9d161f4cbd vertical flyback caused by screen limit will not occur if an actual VSYNC is being counted 2022-03-28 23:19:24 +01:00
JetSetIlly
4829333015 atarivox and savekey are disabled during rewinding 2022-03-27 10:13:14 +01:00
JetSetIlly
759e2e31a7 updated screenshots for freetype font rendering 2022-03-26 16:19:17 +00:00
JetSetIlly
1bfdaf1193 simplified and shortened README after moving documentation to Github Wiki 2022-03-26 16:08:26 +00:00