Thomas Harte
|
e53fbcf9ea
|
Reshuffled to make the OpenGL view explicitly a conduit for CRT-style output, and to give it responsibility for frame drawing. Which is still an awkward thread hop for the time being, but I've yet to read up on the advocated approach to multithreading with an NSOpenGLView; it looked like special provisions were available.
|
2015-07-26 15:13:46 -04:00 |
|
Thomas Harte
|
44e8ffd01c
|
Ensured windows start and remain 4:3, made sure I request a GL 3.2 context and that an exception is raised if I call any old-fashioned GL functions.
|
2015-07-23 22:51:53 -04:00 |
|
Thomas Harte
|
b9721d1d3f
|
Okay, treading water slightly, ensured window content is correct aspect ratio.
|
2015-07-23 20:50:50 -04:00 |
|
Thomas Harte
|
7276c77027
|
A full communication pathway now leads to Atari2600.mm (for now) being in possession of a frame and receiving a command to draw, with a suitable OpenGL context being active and whatever is drawn subsequently appearing.
|
2015-07-23 20:45:07 -04:00 |
|
Thomas Harte
|
2d0f861474
|
Incoming: a 'CRT' class, to receive information intended for a cathode ray tube. To decode sync, etc.
|
2015-07-19 13:36:27 -04:00 |
|
Thomas Harte
|
12746b35e3
|
Ensured there's no overflow while changing base.
|
2015-07-19 10:54:19 -04:00 |
|
Thomas Harte
|
195c8a87d8
|
Introduced enough logic that the Atari 2600 is being run, at least. No output yet though because (i) it has no-one to send output to; and (ii) there's nobody that knows how to display output. Hmmm.
|
2015-07-16 22:14:40 -04:00 |
|
Thomas Harte
|
3e0679235a
|
This now goes just far enough to create an instance of Atari2600::Machine and push a ROM to it. Next jobs are to get a basic CRT emulation wired up, outputting to the window.
|
2015-07-16 20:40:46 -04:00 |
|
Thomas Harte
|
24c0579b94
|
Shuffled things and guessed at things until the Xcode project was happy being subservient to the project proper.
|
2015-07-16 20:27:31 -04:00 |
|