Ry
4bedaa9028
Toggle debug output with F11
2023-07-11 23:02:57 -07:00
Ry
385f879e79
Merge pull request #18 from hyenasky/main
...
fix the semantics of the HALT instruction
2023-06-06 17:14:47 -07:00
hyenasky
6348e233d0
fix the semantics of the HALT instruction
...
makes it useful for saving host cpu usage again
2023-06-06 18:06:55 -06:00
Ry
f98a9a255f
Disable serial port if building for Windows
2023-05-29 18:52:25 -07:00
Ry
08e7168b1d
Use spaces instead of tabs in serial.c
2023-04-01 19:09:36 -07:00
Ry
d559f63c85
Add RTC port for checking if DST is active
2023-03-24 23:42:42 -07:00
Ry
c422bfc271
Merge pull request #17 from hyenasky/main
...
fix several edge case interactions involving page faults
2023-03-14 16:20:08 -07:00
hyenasky
8c4967cb13
fix several edge case interactions between page faults and instruction execution
2023-03-14 08:24:49 -06:00
Ry
7f482a809a
Remove extra new line in disk error messages
2023-03-04 17:00:38 -08:00
Ry
0b9d2f61a3
Merge pull request #16 from theverygaming/main
...
Improved Makefile
2023-02-22 01:27:04 -08:00
theverygaming
1d6aa605fb
better Makefile
2023-02-22 09:59:59 +01:00
Ry
2235d2f5b1
Merge pull request #15 from theverygaming/main
...
Allow build with emscripten
2023-02-13 17:47:49 -08:00
theverygaming
c4810048c1
emscripten
2023-02-13 10:00:06 +01:00
Ry
86760a65c4
Merge pull request #14 from neuschaefer/dev
...
Documentation improvements
2023-02-05 15:02:49 -08:00
jn
e01514440a
docs/instructions.md: Sort instructions into groups
2023-02-05 14:05:00 +01:00
jn
2d43212c04
docs/cpu.md: Add comment about operand order
2023-02-05 13:02:22 +01:00
Ry
8a764627c5
Merge pull request #13 from neuschaefer/dev
...
GitHub CI: Run cputest to catch regressions early
2023-02-02 16:12:01 -08:00
jn
eed6fb97ac
GitHub CI: Run cputest to catch regressions early
2023-02-02 17:48:46 +01:00
Ry
ffeb6f6283
Merge pull request #11 from neuschaefer/dev
...
Enable input on the serial port
2023-02-02 01:55:02 -08:00
jn
727dc8e0d2
Enable input on the serial port
2023-02-02 10:49:07 +01:00
Ry
e6af577da5
Merge pull request #10 from neuschaefer/dev
...
Refactor physical memory address resolution code
2023-02-01 15:00:07 -08:00
jn
c739f8ecb3
Refactor physical memory address resolution code
...
The physical memory layout is the same whether we use the MMU or not, so
let's implement it only once.
2023-02-01 23:51:15 +01:00
Ry
ee4b96db4f
Merge pull request #9 from neuschaefer/dev
...
docs: Document how the peripherals work
2023-02-01 13:44:15 -08:00
jn
4467185339
docs: Document how the peripherals work
2023-02-01 20:16:40 +01:00
Ry
7719755a52
Cleanly exit if attempting to open non-existent disk
...
Fixes issue #7 .
2023-01-30 14:09:00 -08:00
Ry
157841311d
Merge pull request #8 from neuschaefer/dev
...
GitHub CI: Bump actions/checkout to v3
2023-01-29 17:00:41 -08:00
jn
8f0f6c9afd
GitHub CI: Bump actions/checkout to v3
...
v2 is deprecated and causes a warning on the Actions page.
2023-01-29 23:28:18 +01:00
Ry
15cf497b89
Merge pull request #6 from neuschaefer/dev
...
Miscellanea
2023-01-27 15:11:37 -08:00
jn
4758c45171
Fix skipping of CMP instructions
2023-01-27 17:37:10 +01:00
jn
6ddf60fba6
Handle division by zero instead of crashing
2023-01-27 11:33:26 +01:00
jn
1d9de64e5f
Print IP and SP in debug mode
2023-01-27 11:33:26 +01:00
Ry
c492194360
Merge pull request #5 from neuschaefer/headless
...
Headless Mode
2023-01-26 17:08:36 -08:00
jn
17f452bacf
Add headless mode
2023-01-26 22:24:16 +01:00
jn
c1652c34b0
Initialize VM state and scan arguments before initializing SDL
2023-01-26 22:21:41 +01:00
Ry
d9f03fe1aa
Merge pull request #4 from neuschaefer/help
...
fox32: Add --help option
2023-01-20 15:09:44 -08:00
jn
43bc7e661e
fox32: Add --help option
...
It's easier to type --help than to remember the options or look at the
source code.
2023-01-20 16:36:37 +01:00
Ry
4a4d05332b
docs: Fix typo
2023-01-13 14:32:38 -08:00
Ry
85c1a87e09
docs: Add iflt and ifgteq to the condition codes list
2023-01-13 14:30:39 -08:00
Ry
6fb4fd884f
Merge pull request #3 from neuschaefer/lowercase
...
docs: Spell fox32 in lowercase
2022-12-31 18:42:47 -08:00
jn
efdf7815e1
docs: Spell fox32 in lowercase
...
As requested by @ry755: https://github.com/fox32-arch/fox32/pull/2#issuecomment-1368289018
2023-01-01 03:29:39 +01:00
Ry
a1d1e34e59
Merge pull request #2 from neuschaefer/doc
...
fox32 architecture documentation
2022-12-31 14:40:54 -08:00
jn
571729dafa
docs: Add more documents (but they're unfinished)
2022-12-31 12:56:19 +01:00
jn
c27f3405cd
docs: Start a comprehensive CPU architecture document
...
With docs/cpu.md, I aim to describe the CPU architecture as fully as
necessary to allow understanding it without having to look into emulator
source code anymore.
This currently leaves encoding.md a bit stranded, because I didn't quire
know how to integrate it into this new document.
2022-12-31 12:53:57 +01:00
jn
bf38917ee0
Fix number of operands for OP_FLP in instruction info table
...
FLP takes a source operand.
2022-12-31 12:17:29 +01:00
Ry
9b6ac30abf
Add new logo to the README
2022-12-28 21:24:04 -08:00
Ry
14dc43710f
Add support for dropping files onto the window to mount them as a disk
2022-12-26 18:22:21 -08:00
Ry
8b5472519e
Update comment
2022-12-26 18:02:25 -08:00
Ry
30f76602a7
Add support for cross-compiling for Windows
2022-12-26 17:22:48 -08:00
Ry
3246859ff2
Revert previous commit
2022-12-25 23:38:26 -08:00
Ry
acbfa82a18
If halt
ed, report that the entire tick was completed
2022-12-25 23:24:03 -08:00