Original Post
Hi all I am trying to build an emulator and so, I have to load a ROM to the memory. I tried loading 32KB into an array of bytes in Visual-Basic 6.0, but it gave me a compilation error: "Too many local, nonstatic variables". I defined my ROM memory location this way: Public Type ROM_Type ROM(32767) As Byte End Type 'ROM_Type Anyway, when I tried to write: "Dim A as ROM_Type" it gave me that mistake... If anyone knows how to fix it or load the ROM to memory in a different way than I would really appriciate the help. Thanks in advanced :)