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
Quake 1
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software
View previous topic :: View next topic  

Are you interested in Quake on NeXTSTEP?
YES!
86%
 86%  [ 37 ]
I don't care.
13%
 13%  [ 6 ]
Total Votes : 43

Author Message
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Wed Oct 21, 2015 5:51 am    Post subject: Reply with quote

Does this support the gecko? I'm curious how it would run on my 100MHz 712.



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
neozeed



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

PostPosted: Wed Oct 21, 2015 6:39 am    Post subject: Reply with quote

blakespot wrote:
Does this support the gecko? I'm curious how it would run on my 100MHz 712.



bp


Maybe? I built it as a quad fat, so I guess so... I recall it running (horribly slow ) on a 68040..
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Sun Nov 22, 2015 8:05 pm    Post subject: Reply with quote

DL link is dead. Where can I grab this?

Tnx



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
neozeed



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

PostPosted: Sun Nov 22, 2015 8:20 pm    Post subject: Reply with quote

blakespot wrote:
DL link is dead. Where can I grab this?

Tnx



bp


It works, you have to read the 404 page. Some idiot flagged everything I had online as a virus, so I have to use a simple 404 + username/password redirect.

right now the password is mightybrake39, but it changes automatically so it's not guaranteed for future users.
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Sun Nov 22, 2015 10:10 pm    Post subject: Reply with quote

Thanks. What is the username?
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
neozeed



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

PostPosted: Sun Nov 22, 2015 10:18 pm    Post subject: Reply with quote

blakespot wrote:
Thanks. What is the username?


should be user


It's all in the 404 message.


Code:
The user name is 'user'

and the password is: mightybrake39

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



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Mon Nov 23, 2015 12:11 pm    Post subject: Reply with quote

Thanks.

(What the hell is wrong with me?)

I will let you know how it runs on a Gecko 100MHz, 256K L2.



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Tue Nov 24, 2015 8:58 pm    Post subject: Reply with quote

Here it is on my Gecko. Decent frame rate, but color map is hosed. Any ideas?

Thanks.


http://youtu.be/2MVnKRT3jw0



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
neozeed



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

PostPosted: Wed Nov 25, 2015 5:37 am    Post subject: Reply with quote

blakespot wrote:
Here it is on my Gecko. Decent frame rate, but color map is hosed. Any ideas?

Thanks.


http://youtu.be/2MVnKRT3jw0



bp


wow that's pretty awesome!

Its been forever but I want to say it was a slide show on a next, and of course in b&w only. I'm pretty sure I did it in 256 only colors so it probably doesn't map to the gecko. what is the depth of it's display? (ie how many colors?)

Otherwise it's incredible to see it actually run!
_________________
# include <wittycomment.h>
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Wed Nov 25, 2015 6:08 am    Post subject: Reply with quote

I'll try it on my turbo color slab soon.

The Gecko is true color, as far as NEXTSTEP is aware. Read details of the unusual video hardware in my blogpost here:

http://www.bytecellar.com/2005/02/09/my_hp_9000_7126/

FWIW Doom runs with an accurate color map on it.



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Wed Nov 25, 2015 3:17 pm    Post subject: NeXT vs HP Gecko - Quake Reply with quote

Quake running on my NeXTstation Turbo Color (33MHz 68040 w/ 4K/4K L1 cache):
https://vine.co/v/izVQOAD1Fii

Quake running on my Gecko (100MHz PA-7100 w/ 256K L1 (yes) cache):
https://vine.co/v/izVQQUE27D9

Quite the difference. 320x200 window, I believe.

This ver of Quake was ported for a 256-color screen mode (PC VESA presumably). It would be great to see the colormap working properly in the NeXT's oddball 12-bit, 4096 color desktop and on the Gecko's "TrueColor" desktop.



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
blakespot



Joined: 19 Apr 2006
Posts: 56
Location: Alexandria, VA (USA)

PostPosted: Wed Nov 25, 2015 3:22 pm    Post subject: Reply with quote

neozeed wrote:
I'm pretty sure I did it in 256 only colors so it probably doesn't map to the gecko. what is the depth of it's display? (ie how many colors?)


Any chance you might take a stab at supporting the standard NeXT 12-bit color mode (12-bit + 4-bit alpha) or the TrueColor modes? Smile



bp
_________________
:::My NeXTs:
- NeXTstation Turbo Color w/ 21" NeXT CRT (NS3.3)
- HP 712/100 "Gecko" (NS3.3)
http://bytecellar.com
Back to top
View user's profile Send private message Visit poster's website
GrafZahl



Joined: 12 Sep 2010
Posts: 25
Location: Germany

PostPosted: Sun Feb 14, 2016 3:09 pm    Post subject: Reply with quote

Hi,
you may like to patch the source file 'vid_null.c' within the NeXT folder in the source folder. Right on the top in the file is a method called VID_SetPalette. I played a little around with it and the following change should be enough to have a fine image on the color nextstation. This fixes the endianess issue only. If I understand the code right it uses a conversion from 8 bit palette from the internal renderer to a 32 bit buffer and then draws this image to the screen. The windowserver does the color downsampling from 32 to 12+4 bit. I found no hint yet for any direct palette based support in NXImageRepresentation maybe it does not support it at all. Maybe it is possible to use a 16 bit buffer on the nextstation color ... but this may not be that easy and may not improve the performance.

Code:

void   VID_SetPalette (unsigned char *palette)
{
  //this is for 32bit right onw... yuck.
#if __BIG_ENDIAN__
  int i,r,g,b;
  for(i=0;i<256;++i)
  {
   r = *(palette + 0 );
   g = *(palette + 1 );
   b = *(palette + 2 );

   Main32RGBPalette[i] = 0x000000ff | (r<<24) | (g<<16) | (b<<8);

   palette = palette + 3;
  }
#else
 int i;
 for(i=0;i<256;++i)
 {
   Main32RGBPalette[i]=*palette++;
   Main32RGBPalette[i]=Main32RGBPalette[i]+(*palette++)*256;
   Main32RGBPalette[i]=Main32RGBPalette[i]+(*palette++)*65536;
 }
#endif
}


regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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