Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.sinclair > #2531 > unrolled thread

Speccy video player in C?!!

Started byBitNaughty <bit-naughty@hotmail.com>
First post2011-02-04 01:39 -0800
Last post2011-02-04 02:57 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.sys.sinclair


Contents

  Speccy video player in C?!! BitNaughty <bit-naughty@hotmail.com> - 2011-02-04 01:39 -0800
    Re: Speccy video player in C?!! Matthew Westcott <gasman@raww.org> - 2011-02-04 10:42 +0000
      Re: Speccy video player in C?!! BitNaughty <bit-naughty@hotmail.com> - 2011-02-04 02:57 -0800

#2531 — Speccy video player in C?!!

FromBitNaughty <bit-naughty@hotmail.com>
Date2011-02-04 01:39 -0800
SubjectSpeccy video player in C?!!
Message-ID<e4e3c6fa-cd0c-4de7-b588-57fb290cdcb3@q2g2000pre.googlegroups.com>
Hi,
This message is specifically for Matt Westcott - Matt, I had mentioned
your video player earlier when I was conversing with you, but didn't
remember at the time to ask you this, very important question. When I
was checking out your video player project for the Speccy, I think I
went to a Github page, which had the source for it, but it was in
*C*!! *How* are you writing in C for the Speccy??!!! Could you please
explain?

By the way, I have no idea what DivIDE actually IS, I just assume that
it's a way to connect an IDE hard disk to the Spectrum, am I right?



Cheers.

[toc] | [next] | [standalone]


#2532

FromMatthew Westcott <gasman@raww.org>
Date2011-02-04 10:42 +0000
Message-ID<8r23fpFjp6U1@mid.individual.net>
In reply to#2531
On 04/02/2011 09:39, BitNaughty wrote:
> When I
> was checking out your video player project for the Speccy, I think I
> went to a Github page, which had the source for it, but it was in
> *C*!! *How* are you writing in C for the Speccy??!!! Could you please
> explain?

The C code on Github is just the converter that runs on the PC, to 
convert your video to .dvo format which plays on the Spectrum. The 
player itself is done in assembler: http://divideo.zxdemo.org/player.asm

It is possible to code C for the Speccy using Z88DK -
http://www.z88dk.org/forum/ - although that's not an option for a video 
player, where you need to 1) keep everything as fast as possible and 2) 
know exactly what it's doing at the clock cycle level (so that you can 
update the audio at the right times).

> By the way, I have no idea what DivIDE actually IS, I just assume that
> it's a way to connect an IDE hard disk to the Spectrum, am I right?

Yep... http://divide.cz/

[toc] | [prev] | [next] | [standalone]


#2542

FromBitNaughty <bit-naughty@hotmail.com>
Date2011-02-04 02:57 -0800
Message-ID<e5f41f0d-92d2-41fc-aaaa-8e91053053e0@8g2000prt.googlegroups.com>
In reply to#2532
On Feb 4, 10:42 am, Matthew Westcott <gas...@raww.org> wrote:
> On 04/02/2011 09:39, BitNaughty wrote:

>
> The C code on Github is just the converter that runs on the PC, to
> convert your video to .dvo format which plays on the Spectrum. The
> player itself is done in assembler:http://divideo.zxdemo.org/player.asm
>

Could you explain some of the theory behind it? That much of Z80 Asm
is a bit intimidating! :) I'd *like* to go through the code, but after
knowing a little of what went into it first.....

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.sinclair


csiph-web