Commit Graph

47 Commits

Author SHA1 Message Date
g1n ae8ba5d80b
common and ocpu: Implemented stack, added PUSH and POP instructions 2022-05-10 17:28:29 +03:00
g1n 055f16d956
ocpu: Add CMP instruction 2022-05-08 13:23:09 +03:00
g1n 05914bb508
ocpu: Add NOT instruction 2022-04-20 15:47:18 +03:00
g1n 84305fe0fb
ocpu: Add XOR instruction 2022-04-20 14:26:41 +03:00
g1n c2d209bbf2
ocpu: Add OR instruction 2022-04-20 14:21:35 +03:00
g1n 1d1f09d4e8
ocpu: Add AND instruction 2022-04-20 14:16:57 +03:00
g1n 4a18c50bdc
Add SEC and CLC ocpu instructions 2022-04-19 17:38:05 +03:00
g1n cad208e9c8
ocpu: Add handling for ZF and NF flags 2022-04-19 14:20:01 +03:00
g1n 1d4eb7f26d
Add DIV ocpu instruction 2022-04-17 18:15:28 +03:00
g1n 3e85806ac7
Add MUL ocpu instruction 2022-04-17 17:50:53 +03:00
g1n 4c4e0b9460
ocpu: Moved duplicated code to one function 2022-04-17 17:37:43 +03:00
g1n df4359a148
Add SUB ocpu instruction 2022-04-17 13:16:51 +03:00
g1n 77bf6696ab
Add register ADC ocpu instruction 2022-04-17 12:54:20 +03:00
g1n a4775d475c
Fixed ADC instruction 2022-04-17 12:42:23 +03:00
g1n bbd0aae6be
Add immediate ADC ocpu instruction 2022-04-17 11:52:44 +03:00
g1n 4d0f8d0b6a
Changed and moved include files and changed Makefile 2022-04-14 12:10:24 +03:00
g1n b7d4d52189
Happy New 2022 Year 2022-01-01 10:33:06 +02:00
g1n edf626acb0 Add -pedantic flag to Makefile and fix warnings 2021-11-12 13:57:01 +02:00
g1n 98a04392af Add NOP ocpu instruction 2021-11-07 11:48:15 +02:00
g1n 87f63a5afd Add ocpu DEC instruction 2021-11-06 19:58:16 +02:00
g1n bf4b7feb29 Add ocpu INC instruction 2021-11-06 19:53:15 +02:00
g1n 3c5ecd764b One more LICENSE text fix 2021-11-04 19:37:32 +02:00
g1n 4daeea66e2 Fixed LICENSE text 2021-11-04 19:30:23 +02:00
g1n 4e1b2fb214 Add LICENSE 2021-11-04 19:26:52 +02:00
g1n 0f2fc73160 Add ADD for 2 registers 2021-11-03 15:25:42 +02:00
g1n 0d2657eab1 Add mov instruction for copying value from one register to another 2021-10-28 19:08:38 +03:00
g1n b78ea8538b Add ADD instruction 2021-10-27 17:33:04 +03:00
g1n 109eb9ca19 Fix problem when next instruction wasn't handled 2021-10-27 15:25:26 +03:00
g1n d13f3f0e0b Now registers differ on each other 2021-10-27 14:38:26 +03:00
g1n 32c1727980 Start implementing ocpu emulator - mov instruction 2021-10-26 19:52:56 +03:00
g1n e4f477a58e Add some definitions to common.h file 2021-10-26 17:23:01 +03:00
g1n 7068c10171 Add arguments and now yemu is modular so other systems can be added easier 2021-10-25 18:20:41 +03:00
g1n 5c7112879a First steps to modular emulator 2021-10-25 16:31:31 +03:00
g1n 702c02383c Add DEX and DEY instructions 2021-10-15 14:27:10 +03:00
g1n 287bd31a90 Update README 2021-10-14 11:27:47 +03:00
g1n 8607e93b3e Add INX and INY instructions 2021-10-13 17:29:24 +03:00
g1n f830fc4ea0 Add TYA instruction 2021-10-12 20:20:38 +03:00
g1n 99be8b1568 Add TSX, TXA and TXS instructions 2021-10-11 20:48:12 +03:00
g1n 05f5bf4dcd Add check if input file specified and if it exists 2021-10-08 16:56:50 +03:00
g1n 021a46c4aa Add NOP instruction 2021-10-08 16:45:02 +03:00
g1n bf8b5bb2e2 Add TAY instruction 2021-10-08 15:30:15 +03:00
g1n c21fdeb552 Add TAX instruction 2021-10-08 15:25:50 +03:00
g1n ab23f2f98f Now execute circles not get passed to execute variable - it can check now if there is EOF 2021-10-05 18:13:00 +03:00
g1n 6b167f6cdc Add loading programs from roms 2021-10-04 19:06:10 +03:00
g1n 55fb75f6ad 6502: add LDX and LDY 2021-09-04 18:03:54 +03:00
g1n 106320bd14 README: fix title 2021-09-03 17:31:49 +03:00
g1n c6d4c1bdfc Initial commit 2021-09-03 17:27:51 +03:00