Erin
0070016f74
Documented hbasm
2024-02-22 23:57:29 +01:00
Erin
6c6e29479f
xyzzy
2024-02-16 12:17:15 +01:00
Erin
eb46b24a10
xyzzy
2024-02-16 11:49:32 +01:00
Erin
942839a5f8
xyzzy
2024-02-16 11:45:39 +01:00
mlokr
9ddc336ecd
fixing deprecated stuff, i hate this
2024-02-14 12:30:38 +01:00
Erin
34d1bf415e
Don't fail to compile on unsupported architectures
2024-02-14 01:25:44 +01:00
mlokr
c978b408e2
running cargo updtae to fix the broken build on nightly
2024-02-13 15:54:46 +01:00
Erin
fe9a0667b8
Maybe fixed questionable code
2024-02-04 22:36:52 +01:00
mlokr
975ce8a9fe
more
2024-02-04 18:32:55 +01:00
mlokr
8a3dd3001d
smh
2024-02-04 10:34:25 +01:00
Erin
de723980da
The more macros, the merrier
2024-02-04 03:08:20 +01:00
Erin
4aa39f3fbc
a
2024-02-04 02:46:50 +01:00
Erin
5f8864e251
Fixed stack allocation for debug
2024-02-04 02:21:25 +01:00
mlokr
bcbe47bcd6
some more progress on codegen
2024-02-03 21:43:54 +01:00
Erin
30ee6c84fc
Fixed x86 asm
2024-02-03 20:08:09 +01:00
mlokr
6e464be33d
adding more parsing with a sanity test
2024-02-01 16:11:10 +01:00
mlokr
09aacff161
establishing some syntax
2024-01-31 20:11:57 +01:00
mlokr
433f2db4d1
fixing some warnings
2024-01-31 17:54:38 +01:00
mlokr
e335e55aa0
removing useles import, super important change
2024-01-31 16:47:17 +01:00
Erin
8e0aeabc07
Baka baka Erin, when you decode RRB, you have to bump it by RRB!
2024-01-15 17:59:46 +01:00
Erin
a84e93d562
idk
2024-01-15 17:51:08 +01:00
Erin
8374dfe20a
Changed macro param
2024-01-07 00:34:28 +01:00
Erin
e9e1242743
Fixed another typo
2023-12-19 12:36:54 +01:00
Erin
f604a2463d
Fixed typo
2023-11-29 21:07:16 +01:00
Erin
59e38db874
Whoops.
2023-11-26 04:13:52 +01:00
Erin
8c257e9216
More general runtime
2023-11-26 04:13:30 +01:00
Erin
84cc1db691
Added fuzzer back
2023-11-24 12:30:20 +01:00
Erin
633e3adc61
Add basic Win32 support
2023-11-24 01:09:15 +01:00
Erin
7f981fe9a0
It was not a typo, baka Erin.
2023-11-23 22:10:44 +00:00
Erin
43c36774a5
Fixed typo in spec (thanks Ity ^^)
2023-11-23 22:10:23 +00:00
Erin
5dd0e22c0d
Moved module
2023-11-23 17:35:11 +01:00
Erin
b161d46a5b
Changed docs a bit
2023-11-23 16:25:06 +01:00
Erin
42488e1e4a
Added stack hopefully maybe who knows
2023-11-15 19:17:25 +01:00
Erin
b84ff70014
funny thing
2023-11-15 19:03:56 +01:00
Erin
b8432d544c
Baka baka Erin, do not forget to bump the opcode too!
2023-11-15 18:23:43 +01:00
Erin
207d8d7fa6
Bye file merged already into spec.md
2023-11-15 18:11:29 +01:00
Erin
569f154bcc
Changed psABI spec
2023-11-15 12:45:40 +01:00
Erin
68094ce0ae
Merge pull request 'The best kind of pull request' ( #17 ) from bee/holey-bytes:master into trunk
...
Reviewed-on: #17
2023-11-15 11:26:39 +00:00
Bee
84dcbfc6bb
Fixed typo
2023-11-14 01:46:40 -05:00
Bee
d26c285ca7
Merge pull request 'Gooby' ( #2 ) from AbleOS/holey-bytes:trunk into master
...
Reviewed-on: bee/holey-bytes#2
2023-11-14 06:42:33 +00:00
Erin
d255967125
Ehm?
2023-11-13 00:21:12 +01:00
Erin
c5c8d23470
Fixed immediate ops
2023-11-13 00:12:31 +01:00
Erin
aca8045a98
Fixed assembler register symbols
2023-11-10 09:51:01 +01:00
Erin
398687d8bf
Fixed some panics and some UB
2023-11-08 12:38:14 +01:00
Erin
a7c4379976
»fixed« fuzzer
2023-11-03 09:49:42 +01:00
Erin
949dd3ba61
Fixed rounding mode
2023-11-03 09:43:08 +01:00
Erin
3771180909
more fmt
2023-11-03 09:19:41 +01:00
Erin
6b3a132451
fmt
2023-11-03 09:01:26 +01:00
Erin
b45d235312
Exit
2023-11-02 19:53:03 +01:00
Erin
9ee3e9cb5f
Public accessors
2023-11-02 16:53:44 +01:00
Erin
57f30109c8
Fixed smaller units
2023-10-29 20:38:57 +01:00
Erin
d6243fa99f
Squashed assembler
2023-10-28 03:29:02 +02:00
Erin
3a6d0fdd2d
fixed match
2023-10-22 23:59:27 +02:00
Erin
9b823ef660
Untypo'd
2023-10-22 18:44:08 +02:00
Erin
84aeac0b2a
Hints of ABI
2023-10-22 18:43:44 +02:00
Erin
fc4118938e
Spec update
2023-10-22 18:36:32 +02:00
Erin
cb557d1361
Updated spec!
2023-10-22 18:18:50 +02:00
Erin
2715bc9107
Some fmt
2023-10-22 16:17:51 +02:00
Erin
8182abca98
Added assembler
...
- its a bit cursed, prolly broken, but at least something
2023-10-22 15:08:45 +02:00
Erin
83563fff84
Maybe fixed relative addressing bugs
2023-10-22 14:46:45 +02:00
Erin
b4923cfb95
Removed UB
2023-10-22 04:21:45 +02:00
Erin
eab47db4d6
chore: cargo update
2023-10-20 12:35:45 +02:00
Erin
4b45407a70
Added test example
2023-10-20 02:05:00 +02:00
Erin
a944a145ed
relative JAL
2023-10-20 00:42:45 +02:00
Erin
0e701e31b5
Updated runtime stuff
2023-10-20 00:12:32 +02:00
Erin
0cb20d5727
New float instructions, Linux runtime added, some other stuff I forgor
2023-10-18 12:14:24 +02:00
Erin
889aefe87a
Changed relative addressing
2023-10-01 16:02:06 +02:00
Erin
59be906835
Sus2
2023-10-01 01:52:26 +02:00
Erin
441356b6f2
Sus stuff
2023-10-01 01:51:51 +02:00
Erin
2f8612c6d2
Added relaxed relative 16 bit instructions
2023-09-29 09:10:36 +02:00
Erin
3e4095da6f
Lottsa things changed
2023-09-26 23:36:27 +02:00
Erin
b1bdbea991
JMP
2023-09-16 01:02:14 +02:00
Erin
8c8c708279
JMP impl
2023-09-16 00:57:37 +02:00
Erin
35f90e94a8
Changed CMP handling and added simple JMP
2023-09-15 08:43:12 +02:00
able
e7aa306e5d
examples
2023-09-12 01:38:32 -05:00
Erin
42be580425
ABI proposal part 1
2023-09-08 10:46:41 +02:00
Erin
9b8a4a718e
a
2023-08-20 00:24:27 +02:00
Erin
0d2949024c
updated macro
2023-08-19 23:57:48 +02:00
Erin
26105bab70
bye stuff
2023-08-19 23:46:47 +02:00
Erin
006dcca309
cleaned up deps
2023-08-19 23:24:31 +02:00
Erin
3034469e89
Address type, changed behaviour on address overflow
2023-08-18 02:31:49 +02:00
Erin
30070818ae
Move
2023-08-18 01:41:05 +02:00
Erin
d282b3d111
Softpage improvements
2023-08-18 01:28:02 +02:00
Erin
600528434b
nope.
2023-08-17 01:37:53 +02:00
Erin
0deeaf3a7e
SPID
2023-08-15 17:21:55 +02:00
Erin
3decd01619
Modified memory interface
...
I have no idea what I am doing rn
2023-08-15 17:05:10 +02:00
Erin
a071a4a7ae
Notice
2023-08-15 16:33:56 +02:00
Erin
af1a7d3bfa
Move stuff, deprecate softpage
2023-08-15 16:32:59 +02:00
Erin
3fdf936f77
Some merges
2023-08-11 02:19:26 +02:00
Erin
96b749060d
h
2023-08-10 12:39:18 +02:00
Erin
770c2ebcf0
move
2023-08-10 12:39:03 +02:00
Erin
6609bd10c5
executable
2023-08-09 20:19:12 +02:00
Erin
97eaae1c76
bai
2023-08-09 03:12:09 +02:00
Erin
1460a7a230
Edit 0x0
2023-08-09 03:01:42 +02:00
Erin
529fbdaed4
Comments
2023-08-09 02:59:11 +02:00
Erin
3ac80a2e3d
Forbid store
2023-08-09 02:57:25 +02:00
Erin
06d66289bc
Now finally, leaving Hardvard!
2023-08-09 02:53:55 +02:00
Erin
430ccd170d
Von-Neumann?
2023-08-09 02:33:03 +02:00
Erin
e2d3f46d3f
Added TX instruction (definitely not named after Texas)
2023-08-09 01:24:45 +02:00
Erin
eadf9e0a1f
Termination instruction
2023-08-09 01:24:13 +02:00
Erin
d74b32a38d
Changed memory interfacing
2023-08-08 03:14:19 +02:00
Erin
4530ff049e
fmt
2023-08-08 03:10:23 +02:00
Erin
2d2978eec7
Added inner memory access
2023-08-08 03:10:11 +02:00
Erin
bf50bcb203
Changed stuff aroud
2023-08-08 03:03:15 +02:00
Erin
82f23ec2e2
Abstraction of memory
2023-08-08 02:48:47 +02:00
Erin
5264576274
Reimplemented BMC
2023-08-08 02:06:15 +02:00
Erin
cdee99598e
const perm check
2023-08-08 01:44:33 +02:00
Erin
f130a27685
Shrunk
2023-08-07 01:50:21 +02:00
Erin
aa186b35c2
Spec update
2023-08-07 01:43:29 +02:00
Erin
629fc969c2
Spec update
2023-08-07 01:41:26 +02:00
Erin
8287b1bdc1
Changed magic
2023-08-01 22:20:11 +02:00
Erin
73b998911c
a
2023-08-01 22:17:20 +02:00
Erin
1a5f101719
Added magic
2023-08-01 22:13:22 +02:00
Erin
a667c36d6c
Link fix
2023-07-26 21:23:03 +02:00
Erin
582c716445
Nightly opts
2023-07-26 20:54:24 +02:00
Erin
37a1923f1e
Added some comments
2023-07-26 20:49:23 +02:00
Erin
10f9907c09
Fixed mapping problems
2023-07-26 13:04:58 +02:00
Erin
2480a65947
Whoops, this is 5-level paging, not 6-level paging
2023-07-26 12:41:18 +02:00
Erin
1ed153a9a2
Fixed memory (un)mapping
2023-07-26 12:22:28 +02:00
Erin
19df4538d7
Fixed page size, fuzzer now does memory.
2023-07-26 03:27:31 +02:00
Erin
e07bfb2301
Decreased timeout
2023-07-26 02:35:27 +02:00
Erin
cfe3203ef1
Increased timeout
2023-07-26 02:31:06 +02:00
Erin
c4e062e742
Increased timeout
2023-07-26 02:30:22 +02:00
Erin
83436507df
Fixed few overflows
2023-07-26 02:28:14 +02:00
Erin
bdda987da9
BMC is now interruptable
2023-07-26 02:04:26 +02:00
Erin
6588837769
restruct + no-alloc support
2023-07-26 01:11:21 +02:00
Erin
f2ec9a3034
Added fuzzy tests
2023-07-26 01:01:53 +02:00
Erin
95c979cb83
a
2023-07-26 00:17:10 +02:00
Erin
66f634a70f
Added warning
2023-07-26 00:16:50 +02:00
Erin
077da50787
Reworked macros
2023-07-26 00:12:50 +02:00
Erin
5055626968
Added runtime bound checking
2023-07-26 00:01:25 +02:00
Erin
0f5d78bb27
whoops, fixed builds.
2023-07-25 23:48:59 +02:00
Erin
668b324cc8
Valider
2023-07-25 23:47:51 +02:00
Erin
759514686a
Valider is now generated from macro (not done yet)
2023-07-25 23:43:06 +02:00
Erin
92793dc93b
Quick valider fix
2023-07-25 23:03:06 +02:00
Erin
ac149a5319
Commented valider
2023-07-25 22:44:08 +02:00
able
f4c55ae3cc
changes I GUESS
2023-07-25 12:20:35 -05:00
Erin
a82686ec07
Fixed endian stuffs
2023-07-25 19:10:00 +02:00
Erin
b3a6c42af3
Added notice
2023-07-25 14:41:54 +02:00
Erin
d20447dd15
Kekw
2023-07-24 20:41:10 +02:00
Erin
193be0bd5a
Removed some macros
2023-07-24 18:48:42 +02:00
Erin
fce3fa5210
fixed imm shl/r
2023-07-24 16:48:13 +02:00
Erin
4ca4e81ac3
Fixed panic on shift outta bounds
...
- Pointed out by 5225225
2023-07-24 16:37:37 +02:00
Erin
dcfd51999d
Fixed missing /
2023-07-22 02:42:43 +02:00
Erin
1532c501a6
added contribution guide to instructions
2023-07-22 02:42:21 +02:00
Erin
8eebbacb91
Name correction
2023-07-22 02:34:41 +02:00
Erin
c621a5c71d
Edits.
2023-07-22 02:29:05 +02:00
Erin
8d5d22eae1
Moved lore
2023-07-22 02:28:05 +02:00
Erin
3892a719eb
A
2023-07-22 02:27:03 +02:00
Erin
47323e140c
added notice.
2023-07-22 02:26:29 +02:00
Erin
3833beb17d
More comments
2023-07-22 02:26:03 +02:00
Erin
afbf6dd2e4
Removed pagetable hack
2023-07-22 01:06:41 +02:00
Erin
ec7053a289
Zero alloc BMC!
2023-07-22 01:03:09 +02:00
Erin
1a53c80a62
Fixed bug + spec update
2023-07-22 00:46:30 +02:00
Erin
6fe1fd91bf
Mapping + bye bye memory leaks
2023-07-20 20:47:50 +02:00
able
ac7fdc7688
code and stufd
2023-07-15 06:27:11 -05:00
able
9cf8789e9a
Merge branch 'master' of ssh://git.ablecorp.us:20/AbleOS/holey-bytes
2023-07-13 04:23:06 -05:00
able
3534b26946
Add some example code for hbasm
2023-07-13 04:23:00 -05:00
Erin
a21f68ffa6
Merge pull request 'Added UN instruction and fixed UB' ( #7 ) from fix-ub into master
...
Reviewed-on: #7
2023-07-13 09:13:34 +00:00
Erin
7833334713
Update spec
2023-07-13 11:11:35 +02:00
Erin
141c5f524f
Added UN instruction and fixed UB
2023-07-13 11:10:07 +02:00
Erin
446225bcf6
Merge pull request 'Fixed the number of registers BRC copies' ( #6 ) from bee/holey-bytes:master into master
...
Reviewed-on: #6
2023-07-13 09:09:44 +00:00
bee
d6ea5adf49
Merge pull request 'merge' ( #1 ) from AbleOS/holey-bytes:master into master
...
Reviewed-on: bee/holey-bytes#1
2023-07-12 17:13:38 +00:00
Egggggg
898738fb40
fixed the number of registers BRC copies
2023-07-12 13:12:00 -04:00
Erin
beb6e23d71
Map APIs
2023-07-12 14:56:11 +02:00
Egggggg
5afd081c2a
hehe oops
2023-07-12 06:50:07 -04:00
Erin
81cf5c4336
JMP → JAL + spec fix
2023-07-12 12:45:50 +02:00
Egggggg
63cf7ac0b0
fixed argument order of BMC and BRC
2023-07-12 06:25:38 -04:00
Erin
3cb3ee1fee
fixxed lint
2023-07-12 02:24:05 +02:00
Erin
4dfbe93919
special-cased BRC
2023-07-12 02:23:47 +02:00
Erin
6791b6d48e
Rewritten assembler
2023-07-12 02:16:23 +02:00
Erin
0ed89234a7
Revised trap API
2023-07-11 17:04:48 +02:00
able
6afec2a031
Merge pull request 'master' ( #3 ) from IntoTheNight/holey-bytes:master into master
...
Reviewed-on: #3
2023-07-11 09:36:39 +00:00
IntoTheNight
b83d1838aa
Merge pull request 'master' ( #1 ) from AbleOS/holey-bytes:master into master
...
Reviewed-on: IntoTheNight/holey-bytes#1
2023-07-11 09:28:48 +00:00
MunirG05
e25a89d56d
the design is very human
2023-07-11 14:54:49 +05:30
MunirG05
b72f0afe84
add fancy errors
2023-07-11 14:38:20 +05:30
Erin
9196519fae
doc
2023-07-11 10:33:55 +02:00
MunirG05
6759fbd2ab
tried to shove the timer back in
2023-07-11 14:03:25 +05:30
Erin
4f53fb1c87
Moved
2023-07-11 10:32:26 +02:00
Erin
ad96e83f09
wrap around timer
2023-07-11 10:31:03 +02:00
Erin
5ee8a91479
Implement timer
2023-07-11 10:29:23 +02:00
Erin
bde00c13f2
Improved assembler library
2023-07-11 02:08:55 +02:00
Erin
b4dac1245b
Moved
2023-07-10 23:18:23 +02:00
Erin
e700010e7f
Rename
2023-07-07 15:23:53 +02:00
Erin
2d34ed61d0
Updated flots
2023-07-07 15:22:03 +02:00
Erin
3919aa8100
assert char bit
2023-07-07 14:36:40 +02:00
Erin
a548a7b08e
Updated C header
2023-07-07 14:33:08 +02:00
Erin
132fc1a6ed
Updated spec
2023-07-07 14:33:07 +02:00
able
c31c9e9a54
HBASM: derp forgot that deps also need to be nostd
2023-06-26 05:23:52 -05:00
able
c26b559898
HBASM: no_std compatible now
2023-06-26 05:18:14 -05:00
Erin
907dd66d5e
Improved unhandled trap handling
2023-06-25 00:28:20 +02:00
Erin
2416526014
Stole docs
2023-06-25 00:21:40 +02:00
Erin
bb50c09538
docs
2023-06-25 00:18:31 +02:00
Erin
a7cf5e4847
Implemented traps
2023-06-25 00:16:14 +02:00
able
87ec6ded54
Initial work on a simple serial driver for ableos
2023-06-21 08:22:56 -05:00
able
4a840a6ef0
Update to stable
2023-06-21 08:22:21 -05:00
able
5ec6da9fb4
clear out assets
2023-06-21 07:54:10 -05:00
able
fdca041e6b
NIX: fix nix-shell
2023-06-21 07:53:01 -05:00
Erin
06b1184772
HoleyBytes, almost adhering the spec
...
- Changed instruction encoding to be faster to match on
- Implemented all instructions defined in spec
- Bytecode validation
- Assembler
- Implemented 5 level paging (based on SV57)
- Implemented some degree of interrupts (though not fully adhering the spec yet)
2023-06-21 02:07:48 +02:00
Erin
fb78e0a44a
a
2023-05-28 23:38:26 +02:00
Erin
7eaa01f53c
fixup32
2023-05-28 23:37:43 +02:00
Erin
119ce4405f
Changed register handling
2023-05-28 16:49:01 +02:00