Byron Lathi
a76763bdc7
Merge branch '23-create-a-better-simulation-environment' into 'master'
...
Resolve "Create a better simulation environment"
Closes #23
See merge request bslathi19/super6502!23
2023-09-28 04:16:59 +00:00
Byron Lathi
9e19a1eb72
Disable sdr debug, initialize uart status
2023-09-27 21:14:09 -07:00
Byron Lathi
ec4c3bab86
Update verilog-6502 bslathi19/verilog-6502@aaf4c084ef
2023-09-26 23:15:22 -07:00
Byron Lathi
915188e8f1
New test program that causes the error
2023-09-26 18:23:01 -07:00
Byron Lathi
c2dd5d616b
Gate rdy behind sdram_cs #28
2023-09-25 23:45:23 -07:00
Byron Lathi
4ee21f23b6
Up the sim time
2023-09-25 19:13:06 -07:00
Byron Lathi
95e05292cc
Fix clocks, define RTL_SIM
2023-09-24 23:58:32 -07:00
Byron Lathi
be68b4c9f9
Change sdrclk and sysclk to have aligned rising edges
2023-09-24 14:53:38 -07:00
Byron Lathi
3fcfa4d3ac
Add REPO_TOP env var
2023-09-24 10:35:17 -07:00
Byron Lathi
9bd031e35e
Add support for test programs
2023-09-24 10:29:32 -07:00
Byron Lathi
13ea5ca71b
Add memory
2023-09-24 10:06:23 -07:00
Byron Lathi
d3aa195adf
Add updated sim cpu with fix
2023-09-23 10:49:44 -07:00
Byron Lathi
00173f4e89
Add submodule back
2023-09-23 09:59:39 -07:00
Byron Lathi
77dd4f1002
remove sim submodule
2023-09-23 09:59:09 -07:00
Byron Lathi
bc0ab7eb54
Fix infinite loop
2023-09-22 19:46:25 -07:00
Byron Lathi
5e03795c09
Get something simulated
...
Infinite loop being caused somewhere
2023-09-21 23:22:17 -07:00
Byron Lathi
1f503b2d80
update sim environment
2023-09-21 20:35:52 -07:00
Byron Lathi
e50203dd3e
Add generic SDR
2023-09-21 19:23:31 -07:00
Byron Lathi
d37e32ec64
Add sim cpu
2023-09-18 23:27:54 -07:00
Byron Lathi
76aea3180a
Move mapper into src folder
2023-09-18 23:00:27 -07:00
Byron Lathi
66bebf476e
Merge from master
2023-09-18 20:08:59 -07:00
Byron Lathi
b30e4c73fb
Merge branch '22-organize-project-better' into 'master'
...
Resolve "Organize Project Better"
Closes #22
See merge request bslathi19/super6502!22
2023-09-19 02:57:26 +00:00
Byron Lathi
c466c62969
Resolve "Organize Project Better"
2023-09-19 02:57:26 +00:00
Byron Lathi
02ac7d5213
Add diagram, throw some code together
2023-09-07 23:41:17 -07:00
Byron Lathi
5fc71567f2
Add basic mapping
2023-09-06 20:18:36 -07:00
Byron Lathi
18140b32a0
Add null mapper
2023-09-06 19:48:51 -07:00
Byron Lathi
a770d938de
Copy bios device functions to kernel
2023-09-04 14:31:55 -07:00
Byron Lathi
791bffb248
Add copy data back
2023-09-04 14:08:52 -07:00
Byron Lathi
15b7d50a30
Fix zerobss bug
...
Well, not really fix but problem is avoided for now
2023-09-01 21:49:36 -07:00
Byron Lathi
1d5215187e
Merge branch 'kernel_crashing' into 'master'
...
Kernel crashing
Closes #6
See merge request bslathi19/super6502!20
2023-08-26 23:15:37 +00:00
Byron Lathi
b2b3b84bc4
Kernel crashing
2023-08-26 23:15:36 +00:00
Byron Lathi
eba24c2990
Disable inits which fail
2023-08-26 13:42:06 -07:00
Byron Lathi
0dfe8ae584
Remove init code to get kernel to run
2023-08-26 13:17:12 -07:00
Byron Lathi
0247565f49
Get super simple kernel code running
2023-08-26 13:09:02 -07:00
Byron Lathi
3487f35af8
Merge branch 'bios' into 'master'
...
#4 Load entire kernel into memory
See merge request bslathi19/super6502!19
2023-08-26 15:14:25 +00:00
Byron Lathi
d2700a64fb
Read entire file into memory
2023-08-26 08:10:20 -07:00
Byron Lathi
4b2b1a425e
Parse options properly
2023-08-25 21:26:28 -07:00
Byron Lathi
a971e7a717
Start reading options
2023-08-25 20:03:03 -07:00
Byron Lathi
21b456067a
Read text and data offset/length
2023-08-25 19:22:21 -07:00
Byron Lathi
155b2c2972
Merge branch 'bios' into 'master'
...
Link bootloader with bios to get access to symbols
See merge request bslathi19/super6502!18
2023-08-24 04:15:04 +00:00
Byron Lathi
becc9094c8
Don't save segments as separate files
2023-08-23 21:12:15 -07:00
Byron Lathi
eb72e83629
Use old offset calculation, save ptr3
...
Looks like cprintf modifies ptr3, so make sure to save it if you are
calling that.
There also may have been an issue with how the previous sector address
was calculated, the one which does not account for carries seems to
work.
2023-08-23 20:48:57 -07:00
Byron Lathi
8273e01ad8
Read size of file in sectors
2023-08-23 20:45:09 -07:00
Byron Lathi
9b1576774b
Factor out relocation code into method
2023-08-23 19:52:11 -07:00
Byron Lathi
cc1d8d2015
Update o65dump to show reloc and undef symbols
2023-08-23 00:11:57 -07:00
Byron Lathi
8bccfed867
Change segment order to make o65 layout valid
...
VECTORS was messing things up
2023-08-22 20:49:07 -07:00
Byron Lathi
c5b1a47c8e
start o65dump.py
2023-08-22 19:27:26 -07:00
Byron Lathi
9972f8cb36
Update order for kernel segments
2023-08-22 19:27:09 -07:00
Byron Lathi
851c26e4dd
Print out filenames as we read them
2023-08-21 20:02:57 -07:00
Byron Lathi
de9353a009
Find kernel in second stage bootloader
2023-08-21 19:33:52 -07:00