forum home page
register faq member list calendar search
MacShock.com - Apple Forums
Reload this Page
Old 12-19-2011, 12:50 AM
Egan Ford
Guest
 
Posts: n/a
Default Update: Apple Game Server Online! v0.2

All,

I updated http://asciiexpress.net/gameserver today. With Michael
Mahon's help I was able to speed up the 12kHz/6kHz 8000 bps HIFI to
12kHz/8kHz 9600 bps. I also fixed a big that effected some games that
loaded below $800. Lastly I removed the CRC code in favor of a faster
checksum + file length check.

If you find any problems please let me know before the end of the year
(before I go back to work).

Thanks.
  Reply With Quote
Old 12-19-2011, 02:40 AM
David Schmidt
Guest
 
Posts: n/a
Default Update: Apple Game Server Online! v0.2

On 12/18/2011 8:47 PM, Egan Ford wrote:
> [...] Lastly I removed the CRC code in favor of a faster
> checksum + file length check.


I've been toying with ways to speed up the data stream of ADTPro... and
the CRC is one place I think changes can be made. What was your
checksum algorithm - and did you do it over the entire file, or for
segments of some size?
  Reply With Quote
Old 12-19-2011, 04:30 AM
Egan Ford
Guest
 
Posts: n/a
Default Update: Apple Game Server Online! v0.2

On Dec 18, 7:54*pm, David Schmidt <schmi...@my-deja.com> wrote:
> On 12/18/2011 8:47 PM, Egan Ford wrote:
>
> > [...] *Lastly I removed the CRC code in favor of a faster
> > checksum + file length check.

>
> I've been toying with ways to speed up the data stream of ADTPro... and
> the CRC is one place I think changes can be made. *What was your
> checksum algorithm - and did you do it over the entire file, or for
> segments of some size?


EOR. Entire file. Start with 0xFF and EOR every byte as it is read
in. The new HIFI code has enough cycles when the sin wave is positive
to compute EOR checksum. The data stream should end with a
precomputed checksum so that when the checksum EORs the checksum you
get 0. That is the check. Before that, I check that then last byte
ends where expected. For audio traffic any disruption will always
change the length of the input. It'd be almost impossible to still
have the data end where it should. In that event, hopefully the
checksum will save me.
  Reply With Quote
Old 12-19-2011, 07:20 AM
BLuRry
Guest
 
Posts: n/a
Default Update: Apple Game Server Online! v0.2

On Dec 18, 7:47*pm, Egan Ford <dataj...@gmail.com> wrote:
> All,
>
> I updatedhttp://asciiexpress.net/gameservertoday. *With Michael
> Mahon's help I was able to speed up the 12kHz/6kHz 8000 bps HIFI to
> 12kHz/8kHz 9600 bps. *I also fixed a big that effected some games that
> loaded below $800. *Lastly I removed the CRC code in favor of a faster
> checksum + file length check.
>
> If you find any problems please let me know before the end of the year
> (before I go back to work).
>
> Thanks.


Nice work!!! :-D

-B
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:31 PM.
Copyright ©2007-2008 MacShock.com. Powered by vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.