Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ram, Speed and Size

A topic by Colin EUMP created Jan 31, 2022 Views: 257 Replies: 4
Viewing posts 1 to 2
Submitted

I notice the restrictions are extremely strict about only including features the phone was capable of in regards to audio and visual components, but the features that involve the actual chips are completely left out. I'm not suggesting those should be included in the restrictions as well, as actually following them on PC would be literally impossible and creating emulators isn't the same thrill as creating games. However, it would be nice to know for the sake of making a game that would at least theoretically be possible to run on an actual (heavily modified) nokia 3310.

Host (1 edit)

Yes you are correct. We just try to get close to the feel of the games. This year is an experiment with tightening the restrictions a bit. There has been talk of trying to put a game on the 3310 but so far no one has done it yet. Its proved pretty difficult to find the detailed information you are asking about let alone implement it. Anyone is welcome to look into it themselves and give it a shot. If you do it would be very exciting and worth sharing here and on the Discord!

Host (1 edit) (+1)

To follow up this reddit comment might be a good place to start. There is also some documentation on hackaday

Submitted(+2)

So, to be clear, I would not be able to put a game on an actual Nokia 3310. I'm not big on handling hardware, and I mainly follow such restrictions as a design challenge. If I come up with an interesting idea for the jam, it's going to be made using my goto game dev setup (SDL2 + lua 5.4).

That said, it does appear that the dev tools hackers used back at the height of the 3310's usage to develop games are still right there in the NokiaFree archives and on sourceforge. The main thing missing is the flasher utility that was expected to be used.

Back to the main topic, I found a site with repair information here . It lists the speed of the processor as 13 MHz, but with further clarification using hardware jargon I'm not familiar with. The next two pages for reading then clarify how the phone's flash card was used. As the hackaday link showed, the flash card is 4 MB (and I found multiple links to legally questionable ROM uploads helpfully listing the size without the need to download them) but only the second 2nd half being relevant for programs. My guess is the first quarter or so is a combination of drivers and BIOS stuff. For example, a post on NokiaFree's archives mentioned some bytes to poke in that range to overclock the processor, but with no one seemingly knowing the side-effects. The repair site also separately mentions "scarap" memory, which I'm guessing is code to go along side "beetle" memory (with scarap being a typo for scarab) for the program data. Scarap memory is 1 MB, so I'm guessing that's basically additional memory to be used like RAM, if possibly slower since it's still flash memory. Beyond that, the processor chip itself also has 1 kB of memory. Also the repair site mentions 128 kB of "work memory" that it clarifies as "data", unhelpfully.

Going by the hackaday link, it would seem the expected sections of the 2 MB are 1280 kB for the firmware (no idea if it actually uses all of it, since I don't have what's needed to run the dev tools and see), 576 kB for the creative assets, and 192 kB for the program data.

So, as a rough estimate, using a RAM, speed and size of 1MB, 13 MHz and some loose judgement of 1.5 MB beyond engine size.

Submitted

Nice research. I never owned a 3110, always felt those phones were expensive and difficult to use (compared to Motorolas and Alcatels, which ironically my nokia-owning friends found difficult).

My dad had one and I think he still has it, with a dead battery. 

Having REAL memory limits would mean having to use old-school techniques, such as real 8-bit monochrome graphics.