1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00
cc65/src/sim65
Patrick Pelletier d602572bbe Fix permissions for files created by sim65.
Files created by my programs running under sim65 had really weird permissions:
--w-r--r-x  1 ppelleti  staff  19 Aug 16 23:22 json.test.print.tmp

So, for example, my program running under sim65 was not able to read
the file it had just written.

This is because the third argument to open (mode) was not being
specified in paravirt.c, so it was just picking up random crud off the
stack to use as the mode.

I added a mode of 0666, and now my program runs correctly.
2018-08-17 23:28:45 +02:00
..
6502.c sim65: Fix "$2C: BIT abs" to access the correct address. 2018-08-10 12:58:48 -07:00
6502.h sim65: add command line parameter to print number of CPU cycles at exit 2016-07-05 17:07:39 +02:00
error.c Normalized code. 2014-03-04 01:11:19 +01:00
error.h Normalized code. 2014-03-04 01:11:19 +01:00
main.c All programs print version and exit successfully. 2016-08-12 08:54:41 -07:00
memory.c Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
memory.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
paravirt.c Fix permissions for files created by sim65. 2018-08-17 23:28:45 +02:00
paravirt.h Added support for cc65 program arguments. 2013-05-24 18:36:30 +02:00