NeXT Computers Forum Index NeXT Computers
www.NeXTComputers.org
 
Log in to check your private messagesLog in to check your private messages

Log inLog in  RegisterRegister


Profile  Search  Memberlist  FAQ  Usergroups
Frontier Elite II

 
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software
View previous topic :: View next topic  
Author Message
neozeed



Joined: 15 Apr 2006
Posts: 716
Location: Hong Kong

PostPosted: Wed May 28, 2008 7:21 am    Post subject: Frontier Elite II Reply with quote

Well the good news is that I got it running on intel with black/white & colour!

The bad news is that I seem to be screwing up all the NeXT Events so it doesn't like the way I'm handling it... I've been using the NeXTwin.m from uae to try to coble it together with some limited sucess... I guess I'll just have to do a whole sale life of it, as I'm really in the dark on how to do proper GUI Objective C programming...

Does anyone know of a good FAQ/Readme/Something!?

Also I have no idea how to do a NIB.. I again had to use the UAE one, but the dimensions are all wrong. I'd love to do something like the nextstep doom, but I don't see it anywhere...

At any rate, it'll happily run the demo loop now. I did try crosscompiling it for the 68k, but as the author of GLFrontier says it's completely untested on big endian machines, and it crashes.

If anyone can point me in the right direction for creating the GUI part, or even a good 'skeleton' that I can use I'd greatly appreciate it.

Otherwise if you want a copy, message me, and I'll email it, it's about four megabytes compressed... I'm running it on virtualbox/Qemu and it looks ok on a 1.6Ghz+ machine... I suspect it'd not be as resource hungry on a real box though.
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
neozeed



Joined: 15 Apr 2006
Posts: 716
Location: Hong Kong

PostPosted: Thu May 29, 2008 9:29 am    Post subject: Reply with quote

I found a wealth of information here:

http://www.nextarchive.net/?programming=true

I just haven't run thru it yet... The online documentation from NeXT is more procedural without any examples... I hope SUN's stab via OpenSTEP isn't as dry...
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
Nitro
Site Admin


Joined: 22 Oct 2005
Posts: 422
Location: Littleton, Colorado USA

PostPosted: Thu May 29, 2008 4:16 pm    Post subject: Reply with quote

Simson has his NEXTSTEP Programming book online if that helps.

http://www.simson.net/ref/1993/NeXTSTEP3.0.pdf

Also, have a look through this stuff as time permits.

http://www.nextcomputers.org/NeXTfiles/Docs/Developer/

Hope you get it running. Smile
_________________
Nitro
Back to top
View user's profile Send private message
neozeed



Joined: 15 Apr 2006
Posts: 716
Location: Hong Kong

PostPosted: Thu May 29, 2008 5:02 pm    Post subject: Reply with quote

Nitro wrote:
Simson has his NEXTSTEP Programming book online if that helps.

http://www.simson.net/ref/1993/NeXTSTEP3.0.pdf

Also, have a look through this stuff as time permits.

http://www.nextcomputers.org/NeXTfiles/Docs/Developer/

Hope you get it running. Smile


Wow I thumbed thru the book and it looks awesome!... I'm sure I can make some sense of it so it'll be playable, vs some looped 'demo' at the moment.

I can email you what I have thus far if you want to try run it, however its intel only.

Thanks again!
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
neozeed



Joined: 15 Apr 2006
Posts: 716
Location: Hong Kong

PostPosted: Fri May 30, 2008 8:50 pm    Post subject: Messing around with YellowBox.... Reply with quote

I've been going thru that book slowly and it hit me that Yellow Box is on OS X Server 1.0! So I grab my CD's and install it on a Windows 2000 VM (the one I build my Qemu stuff on), and come back with this:


Code:
$ gcc -v -I. -DPART1 fe2.s.c -o fe2.part1.o -c
Reading specs from C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.
7.2.1\specs
gcc version 2.7.2.1 for Apple PDO
 C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.7.2.1\cpp.exe -sma
rt -lang-c -v -I. -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Di386 -DWIN32 -D_WIN32
 -Dwinnt -DWINNT -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -DALMOST_STDC -DNeXT_PDO -
D_MT -D_DLL -D__LITTLE_ENDIAN__ -D__ARCHITECTURE__="i386" -D__i386__ -D__WIN32__
 -D_WIN32 -D__winnt__ -D__WINNT__ -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -D__ALMOS
T_STDC__ -D__NeXT_PDO__ -D_MT -D_DLL -D__LITTLE_ENDIAN__ -D__ARCHITECTURE__="i38
6" -D__i386 -D__WIN32 -D__winnt -D__WINNT -D__ALMOST_STDC -D__NeXT_PDO -Asystem(
winnt) -Acpu(i386) -Amachine(i386) -DPART1 fe2.s.c C:\DOCUME~1\JASONS~1\LOCALS~1
\Temp\cca00704.i
GNU CPP version 2.6.1 (i386-applepdo-winnt3.51)
#include "..." search starts here:
#include <...> search starts here:
 .
 C:/Apple/Library/Frameworks/System.framework/PrivateHeaders
 C:/Apple/Library/Frameworks/System.framework/Headers
 C:/Apple/Developer/Headers
 C:/Apple/Local/Developer/Headers
End of search list.
 C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.7.2.1\cc1obj.exe C
:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00704.i -quiet -dumpbase fe2.s.c -version -
o C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00704.s
GNU Obj-C version 2.7.2.1 (i386-applepdo-winnt3.51) compiled by GNU C version 2.
7.2.1.
 as -o fe2.part1.o C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00704.s
as: fe2.part1.o: reloc overflow: 0x18151 > 0xffff
fe2.part1.o: File truncated
C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00704.s: Assembler messages:
C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00704.s:233148: FATAL: Can't close fe2.par
t1.o
: File truncated
gcc: Internal compiler error: program as got fatal signal 1
$ gcc -v -I. -DPART2 fe2.s.c -o fe2.part2.o -c
Reading specs from C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.
7.2.1\specs
gcc version 2.7.2.1 for Apple PDO
 C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.7.2.1\cpp.exe -sma
rt -lang-c -v -I. -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Di386 -DWIN32 -D_WIN32
 -Dwinnt -DWINNT -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -DALMOST_STDC -DNeXT_PDO -
D_MT -D_DLL -D__LITTLE_ENDIAN__ -D__ARCHITECTURE__="i386" -D__i386__ -D__WIN32__
 -D_WIN32 -D__winnt__ -D__WINNT__ -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -D__ALMOS
T_STDC__ -D__NeXT_PDO__ -D_MT -D_DLL -D__LITTLE_ENDIAN__ -D__ARCHITECTURE__="i38
6" -D__i386 -D__WIN32 -D__winnt -D__WINNT -D__ALMOST_STDC -D__NeXT_PDO -Asystem(
winnt) -Acpu(i386) -Amachine(i386) -DPART2 fe2.s.c C:\DOCUME~1\JASONS~1\LOCALS~1
\Temp\cca00860.i
GNU CPP version 2.6.1 (i386-applepdo-winnt3.51)
#include "..." search starts here:
#include <...> search starts here:
 .
 C:/Apple/Library/Frameworks/System.framework/PrivateHeaders
 C:/Apple/Library/Frameworks/System.framework/Headers
 C:/Apple/Developer/Headers
 C:/Apple/Local/Developer/Headers
End of search list.
 C:/Apple/Developer/Libraries/gcc-lib/i386-nextpdo-winnt3.5\2.7.2.1\cc1obj.exe C
:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00860.i -quiet -dumpbase fe2.s.c -version -
o C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00860.s
GNU Obj-C version 2.7.2.1 (i386-applepdo-winnt3.51) compiled by GNU C version 2.
7.2.1.
fe2.s.c: In function `__F39e84':
fe2.s.c:165929: warning: decimal constant is so large that it is unsigned
fe2.s.c: In function `__F56d54':
fe2.s.c:196528: warning: decimal constant is so large that it is unsigned
 as -o fe2.part2.o C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00860.s
as: fe2.part2.o: reloc overflow: 0x1d58e > 0xffff
fe2.part2.o: File truncated
C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00860.s: Assembler messages:
C:\DOCUME~1\JASONS~1\LOCALS~1\Temp\cca00860.s:679123: FATAL: Can't close fe2.par
t2.o
: File truncated
gcc: Internal compiler error: program as got fatal signal 1
$


Sigh. So freaking close, project builder is kind of neat but it's funny (or typical I guess) that an 8mb C file blows up the stack on the compiler...

lol anyone know how to bump up the stack on gcc on Yellow box? Yeah...
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2017 phpBB Group