Welcome, Guest. Please login or register.

Author Topic: Amiga movies possible on stock OCS machine?  (Read 6483 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Amiga movies possible on stock OCS machine?
« on: November 19, 2009, 09:25:54 PM »
No real sense in DMAing into fast RAM and then transferring to chip RAM, so it's easiest to DMA (or PIO read) directly into double frame buffers. If there's a bit of fast RAM (for PIO overhead) there's probably no large penalty on PIO vs DMA. Access to IDE registers will happen in fast memory, as will ROM access. Driver and system structures residing in chip RAM will slow operation considerably however.

6 bitplane gfx costs you half CPU (or SCSI DMA) bandwidth on chip RAM during bitplane DMA. Since you're using no overscan, you can make up for part of the bandwidth loss during horizontal and vertical blanking.
You've got 225 DMA slots in each line, 312 lines/PAL frame. From the 225 cycles, the  CPU can potentially use 112 (113?), 40 are lost to gfx, leaving 72. 72*256 + 112*56 = 24704 cycles per frame

16 bit chip RAM allows you to write 49408 bytes per frame, the A3000's 32 bit chip RAM would double that to 98816 bytes. Running 25 fps means you've got two frames for a full refresh (61440 bytes), so it shouldn't really be a big problem with optimized code, possibly even with a chip RAM only system!
« Last Edit: November 19, 2009, 09:29:16 PM by Zac67 »
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Amiga movies possible on stock OCS machine?
« Reply #1 on: November 19, 2009, 10:04:18 PM »
Quote from: desiv;530377
Doesn't all that assume you are sending the entire screen data?
Can't you just send the changed data across?
Or would that take more CPU to figure out that to transfer?


We were assuming uncompressed data. With a fast CPU and well compressable video you can top that rate easily (the faster the CPU the better the compression yield).
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Amiga movies possible on stock OCS machine?
« Reply #2 on: November 19, 2009, 10:06:23 PM »
Quote from: ral-clan;530380
Doesn't the software "Clarissa" claim to be able to play Amiga anims at full 30fps framerate even on a stock 68000 machine?


Depends on the gfx resolution area you're transferring - 16 color hires overscan is completely impossible, even with fast RAM and CPU.
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Amiga movies possible on stock OCS machine?
« Reply #3 on: November 20, 2009, 06:16:04 PM »
Quote from: Piru;530383
My understanding is that the I/O registers are as slow as the chip memory.

Dunno about the A600 but the CPU socket solutions attach to the CPU side as do all sidecar variants. No need to request a cycle from Agnus since all that stuff is clearly beyond its address range.

[...]
After looking at the 600's schematics the above should count for June Bug as well. :)

Possibly you've mixed that up with CIA speed - they're on the CPU bus, too but lots of wait states make them pretty slow.
« Last Edit: November 20, 2009, 06:18:19 PM by Zac67 »