Author Topic: disc loader system  (Read 3892 times)

0 Members and 1 Guest are viewing this topic.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
disc loader system
« on: 14:16, 10 June 09 »
I have been working on a disc loading system for Rhino.
The format and file writer are complete.

This loading system is a direct to the hardware loading system but designed to be simple to use in your own productions.

I plan to release it soon.

So maybe it will be easier to make trackmos now?
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.071
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6283
Re: disc loader system
« Reply #1 on: 21:08, 13 June 09 »
WWhat is trackmos? :D

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: disc loader system
« Reply #2 on: 13:45, 15 June 09 »
WWhat is trackmos? :D
more than one trackmo.
a trackmo is a demo term for a demo that loads almost continuously from a disc, though each of the tracks at a time.
I think it also means a type of demo where the parts are linked and are seamless.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.071
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6283
Re: disc loader system
« Reply #3 on: 19:39, 15 June 09 »
Ahhhhh... Of course I know about this kind of loader, but I don't think I've heard the term before... thanks :)

[idea] a dictionary for the wiki??? [/idea]

Offline Longshot

  • CPC664
  • ***
  • Posts: 102
  • Country: fr
    • Logon System Web Site
  • Liked: 101
  • Likes Given: 20
Re: disc loader system
« Reply #4 on: 15:12, 16 June 09 »
A trackmo is not a megademo.

A megademo is composed of a loader with different parts, very often with their own music. A trackmo (the first one was from scoopex in 1990) is used when there is no "break" in the show and the music is never stopped.

To do a trackmo on cpc, you need a loader able to execute others things while it loads data. ;D
Rhaaaaaa

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: disc loader system
« Reply #5 on: 13:48, 17 June 09 »
A trackmo is not a megademo.

A megademo is composed of a loader with different parts, very often with their own music. A trackmo (the first one was from scoopex in 1990) is used when there is no "break" in the show and the music is never stopped.

To do a trackmo on cpc, you need a loader able to execute others things while it loads data. ;D
Yes true. But you do not always need great effects while loading... e.g.

good effects (no loading), start loading and switch to more simple effect, when loading is complete switch to better effect, but do this in a seamless way.

music while loading: 5kb demo 3 prooved that more is possible during loading.

I was looking at the disc timings. I worked out that there is some time between sectors (used by gaps, id marks, synchronisation etc), that could be used to make some effects or play music.
You can also use the time during seek too. The problem is the synchronisation of the music... I am looking to add music to my loader (it will be a starkos tune).

The first version of my loader is now ready (no music):

1. a "master maker" program which you use to format disc and to put your files into the special format
2. source code for loader so you can use it in your programs to load the programs put onto the disc.
3. Standard DATA format for track 0 (so you can display graphics with CAT), a different format for other tracks.

I am working on the master maker program so that it will report more errors, and then on the loader so I can use every byte on the disc.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 585
  • Country: au
  • Liked: 383
  • Likes Given: 87
Re: disc loader system
« Reply #6 on: 20:08, 17 June 09 »
The first version of my loader is now ready (no music):

1. a "master maker" program which you use to format disc and to put your files into the special format
2. source code for loader so you can use it in your programs to load the programs put onto the disc.
3. Standard DATA format for track 0 (so you can display graphics with CAT), a different format for other tracks.

I am working on the master maker program so that it will report more errors, and then on the loader so I can use every byte on the disc.

I was wondering, will there be source code for saving as well?  If you used it in a game and wanted to save a high score table to disk, for example.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: disc loader system
« Reply #7 on: 14:32, 19 June 09 »
I was wondering, will there be source code for saving as well?  If you used it in a game and wanted to save a high score table to disk, for example.
Currently no, but I can add that.

There is already code for writing files, so that needs adapting.

BTW, this is code for a special loader not one that writes AMSDOS files.

If you need code to read/write AMSDOS files (and still be allowed to use the RAM that the firmware occupies) then I can provide this too (same kind of code that some cracks use).
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.182
  • Country: fr
  • Liked: 1144
  • Likes Given: 167
Re: disc loader system
« Reply #8 on: 04:07, 20 June 09 »
>music while loading: 5kb demo 3 prooved that more is possible during loading.
*shameless propaganda* :)
Have a look at the Midline Process demo (loading+decrunching+music) on our website :
www.arkos.cpcscene.com
Also, you might be interested to use some of my FDC Tools code (check the Tools section), which allows to load any AMSDOS file with my own code, so you can kill the system but load usual files anyway.
Trg.Aks
Targhan/Arkos

Arkos Tracker 2.0.0 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 585
  • Country: au
  • Liked: 383
  • Likes Given: 87
Re: disc loader system
« Reply #9 on: 15:39, 21 June 09 »
Currently no, but I can add that.

There is already code for writing files, so that needs adapting.

BTW, this is code for a special loader not one that writes AMSDOS files.

If you need code to read/write AMSDOS files (and still be allowed to use the RAM that the firmware occupies) then I can provide this too (same kind of code that some cracks use).

I haven't really got as far as thinking about the file format - my need for read/write routines is still some way off yet!  It is just that with you talking about it now, I realized that read/write fdc routines that can be used without the firmware were something I'd need to get hold of (or develop if necessary) at some point.

Offline dlfrsilver

  • CPC6128
  • ****
  • Posts: 250
  • Liked: 73
  • Likes Given: 6
Re: disc loader system
« Reply #10 on: 07:12, 03 September 09 »
Trackmos is a trackloader :D Amigafans here we are ;)