1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-05-17 21:23:22 -07:00
Commit Graph

468 Commits

Author SHA1 Message Date
Connor Olding 86ce3ea0d7 reimplement parsing; resolve defines after lexing 2015-11-22 12:30:55 -08:00
Connor Olding d808160d68 tokenize all at once (WIP) 2015-11-22 02:46:38 -08:00
Connor Olding 1b23db1a71 unfudge LI/LA a little 2015-11-22 00:24:28 -08:00
Connor Olding 5b35cc2155 use proper instruction type names 2015-11-22 00:09:54 -08:00
Connor Olding 9ec4d0f406 add reg# register aliases 2015-11-21 23:50:25 -08:00
Connor Olding cdeb4b0489 pseudo-instruction crap 2015-11-21 19:30:02 -08:00
Connor Olding f673308437 various
fix jump and branch destinations.
note: branching is no longer compatible with CajeASM.

make LUI dumb: only use 'UPPER' with LI/LA.
note: this is very incompatible with CajeASM.
add LUUI pseudo-instruction to use 'UPPER' instead of 'LOWER'.

fix SUBI/SUBIU parsing.

fix LI for values under 0x10000.

pass filename through main().
tell Lexer our filename.
don't print filename in Dumper since it's irrelevant.
2015-11-21 17:35:43 -08:00
Connor Olding 4a45b3c913 implement LI and LA 2015-11-21 15:36:54 -08:00
Connor Olding 5397085f01 various
alias ZERO register to R0.
lex decimal numbers properly.
lex octal and negative numbers.
lex directives properly.
fix byte dumping.
fix UPPER behavior...?
2015-11-21 15:04:30 -08:00
Connor Olding 39ffd10fff new dumper to support directives
the old one could still have a place,
with its simplicity and speed.
also, screw versioning.
2015-11-21 13:53:52 -08:00
Connor Olding 70827cd830 simplify size handling 2015-11-21 00:01:15 -08:00
Connor Olding 88b230d3c7 define formats in the instruction table
this greatly reduces code bloat,
and made it easier to implement a few instructions.
everything is still very untested, however.
2015-11-20 23:29:57 -08:00
Connor Olding 29de0e8d53 only specify one instruction list 2015-11-20 20:45:59 -08:00
Connor Olding 70e4d28442 add remaining fp instructions 2015-11-20 20:26:30 -08:00
Connor Olding bfcd75f5b6 add fp compare instructions 2015-11-20 19:36:52 -08:00
Connor Olding 05c3a18886 use filename in errors; fix JALR 2015-11-20 16:44:40 -08:00
Connor Olding 3b92aad4a0 set up as a proper module 2015-11-20 16:21:13 -08:00
Connor Olding cd8ea7b3d7 refactor to use classes; no hardcoded stuff 2015-11-20 15:27:22 -08:00
Connor Olding ebc9987a38 implement relative branches; fix register orders 2015-11-20 15:01:04 -08:00
Connor Olding cf413a7ab1 a little cleanup 2015-11-20 14:12:02 -08:00
Connor Olding 5822b592f1 add basic fp arithmetic 2015-11-20 14:00:02 -08:00
Connor Olding 301bfc99f8 add fpu registers and basic moves 2015-11-20 13:28:10 -08:00
Connor Olding 8407c4e016 recognize pseudo & fp instructions
i hope this is all of them.
2015-11-20 12:49:26 -08:00
Connor Olding c9671ef4b5 add semi-functional MIPS assembler 2015-11-20 11:53:09 -08:00
Connor Olding 0f59cdce5e race tweaks 2015-11-15 20:04:49 -08:00
Connor Olding 628bc7b49c add half-broken race file creator 2015-11-15 19:59:10 -08:00
Connor Olding eb73ba66b2 oot compat, basic timestop 2015-11-15 17:03:27 -08:00
Connor Olding 46280a4343 many many progress menu items
looking to replace oneshot.lua
2015-11-15 10:08:10 -08:00
Connor Olding f2839bb69c allow a single function for simple callbacks 2015-11-15 09:43:29 -08:00
Connor Olding f6d20caa4b OoT soft reset... kinda 2015-11-15 08:41:40 -08:00
Connor Olding b78b3567d0 use voidout type that works with OoT 2015-11-15 08:29:06 -08:00
Connor Olding 42493fd48c OoT "compatibility" 2015-11-15 08:05:33 -08:00
Connor Olding 8ed4aee8ce add necessary store/restore addrs for most versions 2015-11-15 07:13:57 -08:00
Connor Olding 1ccc4891be add more addresses across versions 2015-11-14 19:16:13 -08:00
Connor Olding a1babce6bb change L to Levitate to D-Up
i know it's not as catchy :c
2015-11-14 17:07:53 -08:00
Connor Olding 301acb98ea add any item any time cheat 2015-11-14 16:45:36 -08:00
Connor Olding 3f7e7a1a0d make L close menu in greedy mode 2015-11-14 16:42:50 -08:00
Connor Olding b169d1d11e implement greedy menu input handler 2015-11-14 16:30:04 -08:00
Connor Olding 2436eee982 alternate control scheme for menus 2015-11-14 14:59:37 -08:00
Connor Olding f0eac171f9 run menu handling while emu is paused 2015-11-14 13:46:04 -08:00
Connor Olding 454d59dcca typo 2015-11-14 13:25:48 -08:00
Connor Olding 20901442ba fixed soft reset 2015-11-14 11:22:41 -08:00
Connor Olding f45745d8b8 cleanup 2015-11-14 10:31:10 -08:00
Connor Olding 2bab9c7d27 use triforce transition if they aren't killed 2015-11-14 10:13:54 -08:00
Connor Olding 8792a100a5 add transition (fadein/fadeout) killer
also took out soft reset since it's broken
2015-11-14 09:20:36 -08:00
Connor Olding d7f18ed09b give days their names 2015-11-14 08:59:30 -08:00
Connor Olding bb2132a78f save scene & pos feature; serialize stored values 2015-11-14 08:57:37 -08:00
Connor Olding b392d2134f split most menus into files 2015-11-12 09:23:46 -08:00
Connor Olding 5590ffaa77 a few more known flags 2015-11-12 09:14:57 -08:00
Connor Olding 3ed1c091cd many more menus 2015-11-12 09:09:14 -08:00