tbsp / varaboy

A Game Boy emulator written in tal
MIT License
47 stars 3 forks source link

Break source files into two #2

Closed neauoire closed 1 year ago

neauoire commented 1 year ago

Do you think you could break the source down into two files, where one is the main part of the code, and the second the SM83 Instruction Jump Table portion with all the opcodes?

The main reason is that it's too large to be opened all at once in Left XD

tbsp commented 1 year ago

I've broken it up a bit more than that, as the MBC code seems worth keeping separate as well, and the memory map likely won't ever change. The opcodes.tal file seems viewable all the way to the end in Left now.

I just realized both opcodes.tal and varaboy.tal are currently 875 lines. Neat.