Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
defragMUSC   [2020]

defragMUSC Released by :
Wil

Release Date :
5 January 2020

Type :
Other Platform C64 Tool

Released At :
Vintage Computing Carinthia $04

User rating:awaiting 8 votes (6 left)   See votestatistics

Credits :
Code .... Wil of Vintage Computing Carinthia

Download :

Look for downloads on external sites:
 Pokefinder.org


Summary
Submitted by wil on 6 January 2020
This tool processes files that were generated with Algotech's MUSC converter
(released September 2009 on CSDB: MUSC-Hires Converter)

I really like Algotech's MUSC format and converter, but when it comes to using a
converted pic in one's own program, the fragmented memory layout of a MUSC image
is a pain. An original MUSC file has a size of 121 blocks and spreads its code and data
in the memory area between $0801 and $5f40.

This program takes a generated MUSC picture and packs the code parts closer
together so that the file has now 79 blocks and lies in memory between $31b7 and $5f40

In addition, some small assembler routines are added supporting the use of a MUSC
file as a splash screen:

SYS 24384 ($5F40) Display pic and go into forever loop (original behavior)
SYS 12727 ($31b7) Display pic and return (ROM is banked out -> does not work with BASIC)
SYS 24390 ($5F46) Display pic, wait for key and restore VIC and IRQ settings
SYS 24412 ($5F5C) Stops displaying and restores VIC and IRQ settings

To test the program on the enclosed example.prg, type:

defragmusc -o example-defrag.prg example-musc.prg

This creates a file example-defrag.prg that lies between $31b7 and $5f40.
To use in as a splash screen for your program, load the new file and display it with SYS 24390.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (2)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.119 sec.