Commit graph

19 commits

Author SHA1 Message Date
JetSetIlly
1cefa61cea added Abort on Illegal Memory Access option for ARM emulation (default: off)
thumb program will abort if illegal memory access is detected

illegal accesses will always be logged even if the option is off

program will always abort on illegal PC fetch even if the option is off
2021-07-15 10:38:37 +01:00
JetSetIlly
cee40a6fad replace all path function calls with filepath function calls
again, not one that is noticeable on Unix but can upset Windows because
of the different directory separator.
2021-06-05 14:38:14 +01:00
JetSetIlly
ec8b17ae6f photomode saves to a unique files with cartridge name
paths.UniqueFilename() altered
2021-05-03 22:15:27 +01:00
JetSetIlly
24fe0484d9 unique filename generation placed in paths module
generated filenames for playback recording, regression script writing
and terminal outuput saving, remain the same as before
2021-03-06 07:17:52 +00:00
JetSetIlly
d6463e0dae lint errors 2021-02-24 06:59:30 +00:00
JetSetIlly
455f683db4 added fs pacakge
fs package is an abstraction layer for those function in the standard os
package that are used by gopher2600. for non-wasm builds the functions
are fowarded straight to the os pacakge.

for wasm builds, the calls are swallowed.
2020-11-23 09:51:43 +00:00
JetSetIlly
9e159b97d8 added more linters to golangci-lint config
godot --fix has been run to make sure all comments end in a full-stop

specified nolint directive to apply to specific linter
2020-10-16 16:31:07 +01:00
JetSetIlly
298a5d343f updated copyright notice in all files
the note about historical versions also being covered wasn't strictly
needed and was ugly. the LICENCE being in the root file from the very
first commit is sufficient.
2020-07-26 20:18:56 +01:00
Robin Eklind
24cb28843f gopher2600: use fully qualified import path as module path
Fixes #4.
2020-03-21 23:39:56 +01:00
steve
16ccdf7830 added copyright messages to some new files 2020-01-18 17:41:24 +00:00
steve
913b96dc5d path package tests 2020-01-07 19:47:08 +00:00
steve
5e254b24b1 doc/comment tidy 2020-01-07 19:26:02 +00:00
steve
4534da0db6 reworked paths package
the location of the configuration directory now depends on how the
binary is built. release versions of the binary will look for the
gopher2600 directory in the user's os configuration directory.
non-release versions will look for the .gopher2600 directory in the CWD.

paths.ResourcePath() will create the paths that don't exist

paths.ResourcePath() now clearly differentiates paths and files

added build target to the Makefile; disabled release target for now
2020-01-07 19:14:51 +00:00
steve
16b15fad95 o added licence headers to all files 2020-01-05 18:58:43 +00:00
steve
0f5a258482 o patch
- implemented patching

o setup
    - added patch entry type

o gopher2600
    - added patch flag to RUN mode
2020-01-05 18:58:42 +00:00
steve
6c210ee6c1 o debugger
- reorganised packages within the debugger package
    - commentary and documentation

o terminal
    - renaming of console to terminal in all instances
2020-01-05 18:58:41 +00:00
steve
9c93bdc1cf o paths
- now using os.UserConfigDir() to handle OS differences
2020-01-05 18:58:41 +00:00
steve
680be0722f o errors
- documented
    - clarified when and why panic() should be called
    - changed formatting verbs in error messages

o targets
    - removed panic()
2020-01-05 18:58:40 +00:00
steve
17b5c599f2 o paths
- implemented paths package
    - handles building of paths using the most appropriate config path -
	the local directory or the user's home directory
2020-01-05 18:58:39 +00:00