Yeah, if you need any sot of buffer, and can’t do it on the fly, it might be tough on the Arduino platform. A lot of the video game hardware in the late 70’s/early 80’s didn’t have a buffer to “draw” into. The Atari 2600 had (I think) 128 bytes of ram, to draw the screen, developers had to time their code to be in sync with the electron beam raster to draw!

 

There is a project on the web somewhere where a guy made a video game, with VGA output, sounds and game controller input on an AVR chip, a truly impressive feat.

 

 

From: Alex Davis via TriEmbed
Sent: Wednesday, April 22, 2020 3:19 PM
To: [email protected]
Subject: Re: [TriEmbed] TriEmbed Digest, Vol 83, Issue 19

 


> >> Also, since you?re defining the array at global scope, the size of it
> >> must be a compile time const-_expression_ anyways, so you wouldn?t even
> >> need dynamic memory allocation.

it's not going to work (in the 96K RAM of a Due, anyway):
arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: address 0x20096900 of /tmp/arduino_build_252939/simple-wireframe.ino.elf section `.bss' is not within region `ram'

Womp womp! This happens even if I set my image space to 10x10x10, so I'm guessing it's out of space on just code.

I'll have to get it working on a Beaglebone Black and use the PRU to run the DACs.

There's probably some way to get it done. I know the game Elite had very simple 3D graphics with backface culling and hidden line removal, and I know there was a c port of it.


--
"The theater of noise is proof of our potential."
|\ | (¯ \/ |¯\ |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯ /¯ /\ |V|
|-||_ (_ /\ |_/ @| | |-| | | \ | /\ |^| | |_/ (_ . \_ \/ | |

You won't find me on Facebook.

_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe

_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: 
mailto:[email protected]?subject=unsubscribe

Reply via email to