Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose vm page + implement OS #233

Merged
merged 48 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
02253c6
Make vm page accessible
netalondon Dec 24, 2023
5035a44
Make runbar visible
netalondon Dec 25, 2023
15ddf69
Add option to load file
netalondon Dec 25, 2023
1c46903
Update current tool on page enter
netalondon Dec 25, 2023
1d9f1d0
Add option to load and use test files
netalondon Dec 25, 2023
9b0e3b7
Rename Xor files to match chip name
netalondon Dec 25, 2023
ba2d01a
Add versioning system to update files automatically
netalondon Dec 25, 2023
c89379c
Merge branch 'fix-xor-menu' into vm
netalondon Dec 25, 2023
d6afce8
Merge remote-tracking branch 'upstream/main' into vm
netalondon Dec 28, 2023
3272057
Merge branch 'vm' into os
netalondon Jan 22, 2024
4d9884b
Add math builtins
netalondon Jan 22, 2024
cbbf53f
Implement screen os library
netalondon Jan 22, 2024
54b1775
Fix imports
netalondon Jan 23, 2024
b93935e
Disable animate for high speeds
netalondon Jan 23, 2024
5f30b8b
Implement most of the synchronous os functions
netalondon Jan 23, 2024
e237cd9
Merge remote-tracking branch 'upstream/main' into os
netalondon Jan 23, 2024
3e40915
Add font
netalondon Jan 24, 2024
3fcc1ec
Implement blocking operations (keybaord, sys.wait)
netalondon Jan 24, 2024
0fb4a36
Complete sys library
netalondon Jan 24, 2024
2951635
Allow loading multiple vm files
netalondon Jan 24, 2024
733c08b
Add os error handling
netalondon Jan 25, 2024
20166cb
Correctly load compare files for vm tests
netalondon Jan 25, 2024
b912210
Show correct stack frame values for entry function
netalondon Jan 25, 2024
7b1b9e0
Don't add implicit if there is a single function
netalondon Jan 25, 2024
806b3f2
Remove unused bootstrap function
netalondon Jan 25, 2024
35d4f5f
Don't push frame for entry function
netalondon Jan 25, 2024
9db1bfe
Perform final return (for tests to pass)
netalondon Jan 25, 2024
3bce242
Add vm parse errors
netalondon Jan 28, 2024
adaaca5
Make illegal offsets a build error
netalondon Jan 28, 2024
8227630
Handle negative numbers correctly
netalondon Jan 28, 2024
08d2338
Raise errors for illegal nArgs and nVars
netalondon Jan 28, 2024
499761e
Fix error message
netalondon Jan 28, 2024
3db0c32
Fix test setVar bug
netalondon Jan 28, 2024
4b5f24d
Remove comments
netalondon Jan 28, 2024
8b16783
Add out of segment space errors
netalondon Jan 28, 2024
9b79ddc
Merge remote-tracking branch 'upstream/main' into os
netalondon Feb 19, 2024
c798566
Fix formatting
netalondon Feb 19, 2024
5d0fce5
Don't throw out of bounds error when settings segments using the test…
netalondon Feb 19, 2024
a3776bb
Remove comment
netalondon Feb 23, 2024
5b81618
Add second RAM view (vm page)
netalondon Feb 25, 2024
4380b46
Setup error messages for translation
netalondon Feb 26, 2024
d159984
Fixed undefined function error message
netalondon Feb 26, 2024
93e78de
Replace setInterval and setTimeout with requestAnimationFrame
netalondon Feb 26, 2024
605869a
Make requested changes
netalondon Feb 26, 2024
350f763
Fix formatting
netalondon Feb 26, 2024
d9b3e6b
Merge remote-tracking branch 'upstream/main' into os
netalondon Feb 26, 2024
b8db2fe
Display font explicitly
netalondon Feb 26, 2024
e9d1cc7
Hide vm page
netalondon Feb 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename Xor files to match chip name
netalondon committed Dec 25, 2023
commit 9b0e3b77afeaa378c56da625c869f35dbb1eb6f8
2 changes: 1 addition & 1 deletion projects/src/index.ts
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ export const CHIP_PROJECTS: Record<"01" | "02" | "03" | "05", string[]> = {
"Not",
"And",
"Or",
"XOr",
"Xor",
"Mux",
"DMux",
"Not16",
8 changes: 4 additions & 4 deletions projects/src/project_01/index.ts
Original file line number Diff line number Diff line change
@@ -33,10 +33,10 @@ export const CHIPS = {
"Or.tst": Or.tst,
"Or.cmp": Or.cmp,
},
XOr: {
"XOr.hdl": Xor.hdl,
"XOr.tst": Xor.tst,
"XOr.cmp": Xor.cmp,
Xor: {
"Xor.hdl": Xor.hdl,
"Xor.tst": Xor.tst,
"Xor.cmp": Xor.cmp,
},
Mux: {
"Mux.hdl": Mux.hdl,