jit.atari2600


    Feb 03 2006 | 12:59 am
    This may interest some of you:
    "Imagine what you could do with a circuit-bent Atari 2600.
    Multiply that by a thousand. That's what you can do with the jit.atari2600 external for Jitter. "

    • Feb 03 2006 | 10:39 pm
      aargh... beat me to it. i haven't finished my jit.nintendo port yet :)
      -ev
    • Feb 06 2006 | 6:35 pm
      this external will rock soooo goood:) stella is a great great piece of coding engeniering.
      i got the source. i am working on an osx port later tonight. and if it is straightforward, it will be here soon.
      i will post it to the list for osx users to delight themselfs with atari roms streamed via 3d space. seems a better place here than some webserver somewhere...
      greetings
      a
      sp: the cool arrows in the forum editing messages are all out of place, just like they shouldnt
    • Feb 07 2006 | 12:30 am
      i'm a little rusty in compiling. what are the prerequisites/dependencies to console?? Console *theConsole; it's the first error cw is reporting... line38, JitterStruct.h
      help anyone?
      thanks
      sier
    • Feb 07 2006 | 12:45 am
      On Feb 6, 2006, at 4:30 PM, sier@risco.pt wrote:
      > i'm a little rusty in compiling. > what are the prerequisites/dependencies to console?? > Console *theConsole; > it's the first error cw is reporting... > line38, JitterStruct.h
      Perhaps you should discuss this with the mmonoplayer folks further. This is most likely part of the Stella 2600 emulator engine:
      Are you and Wesley both porting this to OS X (as suggested by Wes' error messages)? Perhaps you guys could consolidate your efforts?
      -Joshua
    • Feb 07 2006 | 12:58 am
      On Feb 6, 2006, at 4:45 PM, Joshua Kit Clayton wrote:
      > Are you and Wesley both porting this to OS X (as suggested by Wes' > error messages)? Perhaps you guys could consolidate your efforts?
      Btw, in case that was an obscure reference, it's referring to the jitter-dev@yahoogroups.com list.
      I suppose we should move this over to cycling74.com soon, now that the new site and forum software is live.
      -Joshua
    • Feb 07 2006 | 1:01 am
      > > Are you and Wesley both porting this to OS X (as suggested by Wes' > error messages)? Perhaps you guys could consolidate your efforts? >
      Right ... I had just made this suggestion.
      wes
    • Feb 07 2006 | 1:02 am
      hey Wes
      thanks from dummy land. down to 12 errors!, which is nice... i havent a clue about this first one one...
      a pointer to a char array assigned to x->rom?
      great to be interactive compiling!
      Error : expression syntax error jit.atari2600.c line 572 char* romArray[] = {x->rom};
      Error : function has no prototype jit.atari2600.c line 575 x->Console = (struct Console*)jitterEntry(romArray[0]);
      Error : declaration syntax error jit.atari2600.c line 582 return JIT_ERR_NONE;
      Error : declaration syntax error jit.atari2600.c line 583 }
      Error : function has no prototype jit.atari2600.c line 624 if(x->Console) Cleanup();
      Error : ';' expected jit.atari2600.c line 1471 updatestruct Console(x->thestruct Console, rowstride, info.dim[0], info.dim[1], bp);
      Warning : function has no prototype max.jit.atari2600.c line 37 {
      Warning : function has no prototype max.jit.atari2600.c line 44 {
      Warning : function has no prototype max.jit.atari2600.c line 51 {
      Error : expression syntax error max.jit.atari2600.c line 88 void *o = max_jit_obex_jitob_get(x);
      Error : expression syntax error max.jit.atari2600.c line 89 t_jit_atari2600* y = (t_jit_atari2600*)max_jit_obex_jitob_get(x);
      Error : undefined identifier 'y' max.jit.atari2600.c line 90 if(!y->theConsole) return;
      Error : undefined identifier 'y' max.jit.atari2600.c line 91 sendDir(y->theConsole, (dir & 0x00FF), status & 0x00FF);
      Error : 'theConsole' is not a member of class 'struct _jit_atari2600' max.jit.atari2600.c line 105 if(!y->theConsole) return (w + 4);
      Error : 'theConsole' is not a member of class 'struct _jit_atari2600' max.jit.atari2600.c line 106 processAudio(y->theConsole, outL, (int)(w[2]));
    • Feb 07 2006 | 1:09 am
      Try flipping you C/C++ compiler settings to Force C++ compilation and see what happens.
      wes
    • Feb 07 2006 | 1:16 am
      done already down to 4 errors
      lets make this work!!!!
      Error : undefined identifier 'Console' max.jit.atari2600.c line 90 if(!x->Console) return;
      Error : undefined identifier 'Console' max.jit.atari2600.c line 91 sendDir(x->Console, (dir & 0x00FF), status & 0x00FF);
      Error : undefined identifier 'theConsole' max.jit.atari2600.c line 105 if(!y->theConsole) return (w + 4);
      Error : undefined identifier 'theConsole' max.jit.atari2600.c line 106 processAudio(y->theConsole, outL, (int)(w[2]));
    • Feb 07 2006 | 1:18 am
      and if i replace the y's with the x's the errors are still the same....
      Error : undefined identifier 'Console' max.jit.atari2600.c line 90 if(!x->Console) return;
      Error : undefined identifier 'Console' max.jit.atari2600.c line 91 sendDir(x->Console, (dir & 0x00FF), status & 0x00FF);
      Error : undefined identifier 'x' max.jit.atari2600.c line 105 if(!x->theConsole) return (w + 4);
      Error : undefined identifier 'x' max.jit.atari2600.c line 106 processAudio(x->theConsole, outL, (int)(w[2]));
    • Feb 07 2006 | 1:43 am
      close, so close, but no cigar, yet 1 error, then fixed, then the 28 linking errors i'm already running joshua's suggestion, including carbon,,, code from the blind,,,,
      Link Error : undefined: 'sendDirection' (code) Referenced from 'sendDir' in max.jit.atari2600.c
      Link Error : undefined: 'z_add_signalmethod' (code) Referenced from 'main' in max.jit.atari2600.c
      Link Error : undefined: 'dsp_add' (code) Referenced from 'max_jit_atari2600_dsp' in max.jit.atari2600.c
      Link Error : undefined: 'fillAudioBuffer' (code) Referenced from 'processAudio' in max.jit.atari2600.c
      Link Error : undefined: 'z_dsp_free' (code) Referenced from 'max_jit_atari2600_free' in max.jit.atari2600.c
      Link Error : undefined: 'z_dsp_setup' (code) Referenced from 'max_jit_atari2600_new' in max.jit.atari2600.c
      Link Error : undefined: 'call_updatestruct' (code) Referenced from 'updatestruct' in jit.atari2600.c
      Link Error : undefined: 'mod_palette' (code) Referenced from 'modify_palette' in jit.atari2600.c
      Link Error : undefined: 'set_visualizer_const' (code) Referenced from 'set_vis_const' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator13' (code) Referenced from 'manipulate13' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator12' (code) Referenced from 'manipulate12' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator11' (code) Referenced from 'manipulate11' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator10' (code) Referenced from 'manipulate10' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator9' (code) Referenced from 'manipulate9' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator8' (code) Referenced from 'manipulate8' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator7' (code) Referenced from 'manipulate7' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator6' (code) Referenced from 'manipulate6' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator5' (code) Referenced from 'manipulate5' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator4' (code) Referenced from 'manipulate4' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator3' (code) Referenced from 'manipulate3' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator2' (code) Referenced from 'manipulate2' in jit.atari2600.c
      Link Error : undefined: 'call_manipulator' (code) Referenced from 'manipulate' in jit.atari2600.c
      Link Error : undefined: 'display_reads' (code) Referenced from 'displayReads' in jit.atari2600.c
      Link Error : undefined: 'get_jit_pix' (code) Referenced from 'getTiaPixels' in jit.atari2600.c
      Link Error : undefined: 'jitterEntry(const char*)' (code) Referenced from 'jit_atari2600_rom' in jit.atari2600.c
      Link Error : undefined: 'strlen' (code) Referenced from 'jit_atari2600_rom' in jit.atari2600.c
      Link Error : undefined: 'Cleanup()' (code) Referenced from 'jit_atari2600_free' in jit.atari2600.c
      Link Error : undefined: 'strcpy' (code) Referenced from 'jit_atari2600_rom' in jit.atari2600.c Referenced from 'jit_atari2600_new' in jit.atari2600.c
    • Feb 07 2006 | 1:51 am
      has been great listening to you guys. interactive compiling is great.
      too bad i can't post code for peace today. another day perhaps
      as
    • Feb 07 2006 | 2:06 am
    • Feb 07 2006 | 2:50 am
      ME thinks this external might have to wait until we got some jitter Mach-O action. It seems to need the System.Framework and the Carbon.Framework.
      I'd love to be wrong about that though.
      wes
    • Feb 07 2006 | 4:19 am
      On Feb 6, 2006, at 6:50 PM, Wesley Smith wrote:
      > ME thinks this external might have to wait until we got some jitter > Mach-O action. It seems to need the System.Framework and the > Carbon.Framework.
      Try adding the CFM CarbonLib and CarbonFrameworkLib. If there are still Mach-O function pointers that are needed from System.Framework, they can be loaded manually using the same strategy as the pthread calls demonstrated in my simplethread example. See simplethread- stuff.sit on my share page, and check out the Apple CFM_MACHO_CFM example source:
      -Joshua
    • Feb 07 2006 | 4:55 pm
      Hi Joshua, It seems the libraries you suggest are not possible to add to my project. When I try to add them, they are grayed out and thus unaccessible. Have you seen this before?
      wes
    • Feb 07 2006 | 7:21 pm
      On Feb 7, 2006, at 8:55 AM, Wesley Smith wrote:
      > It seems the libraries you suggest are not possible to add to my > project. When I try to add them, they are grayed out and thus > unaccessible. Have you seen this before?
      That's odd. I've not witnessed this before. Can you drag CarbonLib and CarbonFrameworkLib from the finder into your project?
      I assume you're adding the stub libraries from: /Applications/CodeWarrior/Metrowerks CodeWarrior/MacOS Support/ Universal/Libraries/StubLibraries/
      And not the Find Library references from: /Applications/CodeWarrior/Other Metrowerks Tools/Find Library/
      If still experiencing troubles, you might see if you can add them to the standard SDK example projects (which should work for you), and then work towards determining any differences between your project file and the examples.
      -Joshua
    • Feb 07 2006 | 7:25 pm
      Actually, I was trying the Find libraries. I was working under the assumption that MacOS support was for OS9 as there is also a MacOSX support folder.
      thanks that worked. wes
    • Apr 18 2017 | 9:52 pm
      Hello, could someone please share with me the jit.atari2600 object?
      (I can't find it anywhare) .
      I'd appreciate it a lot
      Thank you.
    • Apr 19 2017 | 7:41 am
      http://www.maxobjects.com/?
      (I feared the above site was offline, but praise to the max-Gods... it lives!)
    • Apr 19 2017 | 9:56 pm
    • Apr 20 2017 | 12:24 pm
      Thank you Giorgio!
      I loaded some ROMS. Looks good,
    • Apr 20 2017 | 12:53 pm
      Is there a chance for 64bit version?
      btw. atari in max is a great idea!
    • May 11 2017 | 4:48 am
      I was looking for this script over the last month. I'm super stoked and having a lot of fun making weird visuals with it. Big up Giorgio thank You for the upload!