Welcome, Guest. Please login or register.

Author Topic: more 68K questions  (Read 1440 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
more 68K questions
« on: April 24, 2006, 08:37:29 AM »
Somehow I've written something that runs with the '030 but crashes on the 68000. I tried adding an MC68000 directive for phxass but that didn't help. Anyone know a good doc that lists the instructions existing on '020+ that aren't on the 68000?

Also, with mediocre speakers and the noise from fans and harddrive motors, how am I supposed to tell if my 14-bit Paula audio player is working correctly (and better than 8-bit) ?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: more 68K questions
« Reply #1 on: April 24, 2006, 09:44:09 AM »
http://www.freescale.com/files/archives/doc/ref_manual/M68000PRM.pdf

In addition there are some other limitations to 68000 barring the instruction set:

- The easiest way to crash 68000 is to access word or longword data from odd address.

example:
Code: [Select]

  lea    data(pc),a0
  move.w 1(a0),d0
  rts

  even
data:
  dc.b   1,2,3

- Another easy way to mess up is to use *2, *4, or *8 index on instructions (multiplier is simply ignored by 68000).

example:
Code: [Select]

  move.l 0(a0,d0.w*2),d0
  rts
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: more 68K questions
« Reply #2 on: April 24, 2006, 11:25:34 AM »
Quote

DamageX wrote:

Also, with mediocre speakers and the noise from fans and harddrive motors, how am I supposed to tell if my 14-bit Paula audio player is working correctly (and better than 8-bit) ?


If you have to ask that question... I don't think you need 14bit :-)

Offline darksun9210

Re: more 68K questions
« Reply #3 on: April 24, 2006, 01:48:15 PM »
Quote
DamageX wrote: Also, with mediocre speakers and the noise from fans and harddrive motors, how am I supposed to tell if my 14-bit Paula audio player is working correctly (and better than 8-bit) ?


hmmm, crank it right up? :-D

or do you mean you are getting a humming noise from the speakers? - if so, move the power for the speakers/amp to a sperate wall socket outlet. this should clear up any gound loop issues. or maybe a shielded power strip?

A500 Vampire2/minimegachip/lazarus/indyECS
A600 Vampire2/604n/subway/IndyECS
A1200 PiStorm32+Pi4/subway/IndyAGA
A1200 PiStorm32+Pi4/subway/IndyAGA
A1200 PiStorm32+Pi4/subway/IndyAGA
A3k C=040/CV64-3D/Xsurf100+RRoadUSB/Zoram256/acard scsi-ide-CF/IndyECS,
A4k CSMk3-060/CV64-3D/Xsurf100+RRoadUSB/Bigram256/IndyAGA, mediator+pci cards
CD32 TF360/IndyAGA
Plus an SGI O2 & consoles.
 

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: more 68K questions
« Reply #4 on: April 24, 2006, 07:21:31 PM »
Quote
The easiest way to crash 68000 is to access word or longword data from odd address.

Oh yeah, I'm guilty of that (^_^')

Quote
If you have to ask that question... I don't think you need 14bit

That's probably true... even 8-bit sounds pretty good with the low-pass filter turned off. But I want the bragging rights for 14-bit anyway... Maybe I'll borrow some better speakers from my brother.
 

Offline Jose

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show only replies by Jose
Re: more 68K questions
« Reply #5 on: April 24, 2006, 08:25:20 PM »
@DamageX

Don't forget to calibrate it. To me it made a big difference (still not like a decent sound card of course).
\\"We made Amiga, they {bleep}ed it up\\"