Why does the graphics driver take so much stack?
boeboy
Posts: 301
Why do i need so much stack space when i am useing the graphics driver?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lets see what this does... KA BOOM (note to self do not cross red and black)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lets see what this does... KA BOOM (note to self do not cross red and black)
Comments
_stack = ($3000 + $3000 + 100) >> 2 'accomodate display memory and stack
...
bitmap_base = $2000
display_base = $5000
Somebody correct me if I'm wrong, but:
It uses stack in a weird way - it allocates stack, uses only a tiny fraction it as a normal stack and uses the rest just like a buffer defined VAR area, reading/writing to it directly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lets see what this does... KA BOOM (note to self do not cross red and black)
_stack = ($3000 + 100) >> 2 'accomodate display memory and stack
...
bitmap_base = $5000
display_base = $5000
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"