What games

2007-05-20 Thread Calvin Allett
Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?

   
-
 Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.

RE: What games

2007-05-20 Thread Chris White
;) anything is possible .. just have to change the way u think about coding
and stay away from systems .. ie sprite systems / scrolling systems
 
make ever function bespoked to that task .. ie make a sprite cutter that
loads data directly instead of reading from a ram location n writing to
screen
 
ie .. 
HL = screen addre
 
(HL) , 0xff
inc l
(HL) , 0x7f
inc l 
 
etc
 
is far quicker than
ld a,(de)
ld (hl),a
inc e (if u can get away with having 256 byte sprite data (8x8 are this u
see hence there popular))
inc l (till next line that is ;))
 
Just means u have to write sprite cutters to output the source code .. then
each sprite draw will be a jump table call
 
C

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Calvin Allett
Sent: 20 May 2007 10:46
To: sam-users@nvg.ntnu.no
Subject: What games


Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?



  _  

Yahoo! Answers - Got a question? Someone out there knows the answer. Try
http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc2VjA
01haWwEc2xrA3RhZ2xpbmVz it now.


RE: What games

2007-05-20 Thread Tobermory
Chris,

Is this also true for music?  Would it have any direct benefit?

 

Howard (still reading the list in the background)

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris White
Sent: 20 May 2007 11:14
To: sam-users@nvg.ntnu.no
Subject: RE: What games

 

;) anything is possible .. just have to change the way u think about coding
and stay away from systems .. ie sprite systems / scrolling systems

 

make ever function bespoked to that task .. ie make a sprite cutter that
loads data directly instead of reading from a ram location n writing to
screen

 

ie .. 

HL = screen addre

 

(HL) , 0xff

inc l

(HL) , 0x7f

inc l 

 

etc

 

is far quicker than

ld a,(de)

ld (hl),a

inc e (if u can get away with having 256 byte sprite data (8x8 are this u
see hence there popular))

inc l (till next line that is ;))

 

Just means u have to write sprite cutters to output the source code .. then
each sprite draw will be a jump table call

 

C

 

   _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Calvin Allett
Sent: 20 May 2007 10:46
To: sam-users@nvg.ntnu.no
Subject: What games

Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?

   _  

Yahoo! Answers - Got a question? Someone out there knows the answer.
HYPERLINK
http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc2VjA
01haWwEc2xrA3RhZ2xpbmVzTry it now.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.5/812 - Release Date: 19/05/2007
13:52



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.5/812 - Release Date: 19/05/2007
13:52
 


RE: What games

2007-05-20 Thread Chris White
not to sure on music .. but .. reading n writing to ram was always its
contention .. mostly the screen banks .. if music and player was kept in a
sep bank then i would assume it have little benifit .. depends on the size
of code that was outputed
 
C

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tobermory
Sent: 20 May 2007 12:17
To: sam-users@nvg.ntnu.no
Subject: RE: What games



Chris,

Is this also true for music?  Would it have any direct benefit?

 

Howard (still reading the list in the background)

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris White
Sent: 20 May 2007 11:14
To: sam-users@nvg.ntnu.no
Subject: RE: What games

 

;) anything is possible .. just have to change the way u think about coding
and stay away from systems .. ie sprite systems / scrolling systems

 

make ever function bespoked to that task .. ie make a sprite cutter that
loads data directly instead of reading from a ram location n writing to
screen

 

ie .. 

HL = screen addre

 

(HL) , 0xff

inc l

(HL) , 0x7f

inc l 

 

etc

 

is far quicker than

ld a,(de)

ld (hl),a

inc e (if u can get away with having 256 byte sprite data (8x8 are this u
see hence there popular))

inc l (till next line that is ;))

 

Just means u have to write sprite cutters to output the source code .. then
each sprite draw will be a jump table call

 

C

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Calvin Allett
Sent: 20 May 2007 10:46
To: sam-users@nvg.ntnu.no
Subject: What games

Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?

  _  

Yahoo! Answers - Got a question? Someone out there knows the answer. Try
http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc2VjA
01haWwEc2xrA3RhZ2xpbmVz it now.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.5/812 - Release Date: 19/05/2007
13:52



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.5/812 - Release Date: 19/05/2007
13:52




Re: What games

2007-05-20 Thread Colin Piggot
 not to sure on music .. but .. reading n writing to ram was always its
 contention .. mostly the screen banks .. if music and player was kept in a
 sep bank then i would assume it have little benifit .. depends on the size
 of code that was outputed

You'll have contention wherever you stick it in memory.

Really, to speed it up you'll have to look at your player code and try to
get that as efficient as possible as it'll be running every single frame.
Instead of processing a music file every frame and calculating values for
the SAA registers on the fly, you could have all the register data ready in
chucks to be OUT'd every frame, although it would eat up more RAM you would
benefit from a faster playback routine.

Chris - am I right in thinking that you (and perhaps Cookie) had written a
fast e-tracker player?

Colin
==
Quazar : Hardware, Software, Spares and Repairs for the Sam Coupe
1995-2007 - Celebrating 12 Years of developing for the Sam Coupe
Website: http://www.samcoupe.com/



RE: What games

2007-05-20 Thread Chris White
Nothing to do with me gov .. But yeah I recall cookie doing some tweeking
around I that area .. Never sure if it ever was a full player or just a
example of inner loops

C 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Colin Piggot
Sent: 20 May 2007 14:10
To: sam-users@nvg.ntnu.no
Subject: Re: What games

 not to sure on music .. but .. reading n writing to ram was always its 
 contention .. mostly the screen banks .. if music and player was kept 
 in a sep bank then i would assume it have little benifit .. depends on 
 the size of code that was outputed

You'll have contention wherever you stick it in memory.

Really, to speed it up you'll have to look at your player code and try to
get that as efficient as possible as it'll be running every single frame.
Instead of processing a music file every frame and calculating values for
the SAA registers on the fly, you could have all the register data ready in
chucks to be OUT'd every frame, although it would eat up more RAM you would
benefit from a faster playback routine.

Chris - am I right in thinking that you (and perhaps Cookie) had written a
fast e-tracker player?

Colin
==
Quazar : Hardware, Software, Spares and Repairs for the Sam Coupe
1995-2007 - Celebrating 12 Years of developing for the Sam Coupe
Website: http://www.samcoupe.com/



RE: What games

2007-05-20 Thread Adrian Brown
Surely 8x8 was 64 bytes ;) (or 32 in mode 4).  But yes direct writing is
the only way.  Although its a pain to do clipping still, a well placed
ret always does the trick i found J



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Chris White
Sent: 20 May 2007 11:31
To: Adrian
Subject: RE: What games



;) anything is possible .. just have to change the way u think about
coding and stay away from systems .. ie sprite systems / scrolling
systems



make ever function bespoked to that task .. ie make a sprite cutter that
loads data directly instead of reading from a ram location n writing to
screen



ie ..

HL = screen addre



(HL) , 0xff

inc l

(HL) , 0x7f

inc l



etc



is far quicker than

ld a,(de)

ld (hl),a

inc e (if u can get away with having 256 byte sprite data (8x8 are this
u see hence there popular))

inc l (till next line that is ;))



Just means u have to write sprite cutters to output the source code ..
then each sprite draw will be a jump table call



C





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Calvin Allett
Sent: 20 May 2007 10:46
To: sam-users@nvg.ntnu.no
Subject: What games

Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?



Yahoo! Answers - Got a question? Someone out there knows the answer. Try
it now
http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc
2VjA01haWwEc2xrA3RhZ2xpbmVz .







APB Computer Services Ltd. Registered Address: 3 Springfield, Trevadlock, 
Congdons Shop, Launceston, Cornwall, PL15 7PW.  Registration Number: 4942193.  
V.A.T. No: 826 0005 70

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited. 

RE: What games

2007-05-20 Thread Chris White
doh i been in work for 4bytes per pixel far to long lolol , but yeah
clipping is a bit of a nightmare .. :D
 
C
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adrian Brown
Sent: 20 May 2007 15:14
To: sam-users@nvg.ntnu.no
Subject: RE: What games




Surely 8x8 was 64 bytes ;) (or 32 in mode 4).  But yes direct writing is the
only way.  Although its a pain to do clipping still, a well placed ret
always does the trick i found J

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris White
Sent: 20 May 2007 11:31
To: Adrian
Subject: RE: What games

 

;) anything is possible .. just have to change the way u think about coding
and stay away from systems .. ie sprite systems / scrolling systems

 

make ever function bespoked to that task .. ie make a sprite cutter that
loads data directly instead of reading from a ram location n writing to
screen

 

ie .. 

HL = screen addre

 

(HL) , 0xff

inc l

(HL) , 0x7f

inc l 

 

etc

 

is far quicker than

ld a,(de)

ld (hl),a

inc e (if u can get away with having 256 byte sprite data (8x8 are this u
see hence there popular))

inc l (till next line that is ;))

 

Just means u have to write sprite cutters to output the source code .. then
each sprite draw will be a jump table call

 

C

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Calvin Allett
Sent: 20 May 2007 10:46
To: sam-users@nvg.ntnu.no
Subject: What games

Just a quick thought,

What games could be accomplished on the ol` SAM, everybody always
says about how underpowered the SAM is in Mode 4, but when I`m
playing more Spectrum games recently, I`m getting a certain shock as to
how many games ran at perhaps lower than 8 fps, and yet it doesn`t
matter, perhaps I should have asked what games could be done.

Could Avenger be done at a similar framerate, for example?

  _  

Yahoo! Answers - Got a question? Someone out there knows the answer. Try
http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc2VjA
01haWwEc2xrA3RhZ2xpbmVz it now.

  _  

APB Computer Services Ltd.
Registered Address: 3 Springfield, Trevadlock, Congdons Shop, Launceston,
Cornwall, PL15 7PW.  
Registration Number: 4942193.  V.A.T. No: 826 0005 70 
  _  

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.