ArticleslgStudy

computer science

MagiC

MagiC is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MagiC rather than just read about it. In short: MagiC is a third party and now open-sourced multitasking-capable TOS-compatible operating system for Atari ST (32-bit) computers, including some newer clone systems manufactured later. There are also variants that run as part of Mac and PC emulation environments, as well as on mac OS Intel-Mac computers.

Key takeaways

  • MagiC belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MagiC to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MagiC from memory before moving on to harder problems.

Reference excerpt

MagiC is a third party and now open-sourced multitasking-capable TOS-compatible operating system for Atari ST (32-bit) computers, including some newer clone systems manufactured later. There are also variants that run as part of Mac and PC emulation environments, as well as on mac OS Intel-Mac computers.

Features The kernel of MagiC is largely written in hand-coded assembly language for Motorola 68000, and offers:

Extensive Atari TOS compatibility Restricted MiNT/MultiTOS compatibility Preemptive multitasking Loadable file systems and long file names Significant performance advantages over both the original TOS and MiNT/MultiTOS platform on the same hardware

Disadvantages MagiC was originally a commercial product and not freely available, like MiNT MagiC is not 100% compatible with the original TOS, same is true for MiNT Drivers and file systems from MiNT are not compatible with MagiC, neither the other way around Some Atari ST programs assume they alone control the machine, are troublesome when multitasked (mostly graphics glitches)

History and variants

Atari platform MagiC was originally released as Mag!X (or MagiX) in 1992. At that time, TOS featured only limited Context switching in the form of desk accessory programs, simple programs accessed from the "Desk" menu and used context switching. In contrast, MagiC offered preemptive multitasking, giving the ability to run multiple (well-behaved) GEM applications as well as other non-graphical software on the Atari ST series the Atari STE and Atari TT. The name changed from Mag!X to MagiC with the release of version 3.0, which added many improvements and a significant amount of MiNT compatibility. Version 4.0 added support for the Atari Falcon, and finally in 1995 version 5.0 brought the significant addition of loadable file system support, along with an implementation of VFAT with long file names, and a number of other improvements to the GEMDOS layer including threads and signals.

Clone machines MagiC versions 6.0 through 6.2 were released also for use with Atari clone machines of the late 1990s (e.g. Milan manufactured by MILAN Computersystems, Hades by Medusa Computer Systems). They include significant enhancements, such as support for FAT32, increased MiNT compatibility, and support for newer processors and hardware found in the clone systems. Version 6.2 is the latest for Atari machines.

Apple Macintosh Atari was slow to improve the hardware of its systems, and in the mid- to late 1990s it was apparent that the Apple Macintosh systems, and some clones by other manufacturers, were a superior hardware platform. Given that Ataris and Macs shared a very similar user interface, the latter were a logical upgrade path for many Atari users. So in 1994 a variant of MagiC known as MagiCMac was released, allowing Atari ST users to run their software on modern Mac hardware. The author of the Macintosh code, which was effectively managing a virtual machine under MacOS, was Thomas Tempelmann. Andreas Kromke made appropriate changes to MagiC, and Sven and Wilfried Behne made changes to NVDI for running in the virtual machine, accessing the native Mac resources. At first MagiCMac was offered for Macs with Motorola 680x0 CPU, a version for PPC CPUs followed. Later releases offered improved integration with the classic Mac OS, and allowed well-behaved Atari software to access the native graphics modes offered by the host machine, in addition to emulations of the standard Atari screen modes. Version 6.2 is the latest for machines with Mac OS classic (up to version 9.2).

PowerPC and Mac OS X With introduction of Mac OS X on newer PowerMacs, the original MagiC-Mac would no longer run as it operated at a low level within the former Mac OS classic in order to function. Newer OS X versions have no system-wide emulation layer for Motorola 680x0 code included, as was the case before. So in 2002 a reworked variant MagiC-Mac X for OS X was released. The program itself is a "Carbon" program; it did run under Mac OS X only, not with Mac OS 9.x or in the "Classic Environment". To maximise effectiveness it contained improved code, and integrated parts of the Asgard68k emulator written in hand-optimised PPC assembler (also used in MESS and MAME projects), to reach high emulation speeds on machines with PowerPC processors (typically PowerPC G4 and G5 Macs). MagiC-Mac X was updated in 2004 and 2009, becoming a "Universal Binary" and running natively on both older PowerPC Macs and newer Macs with Intel processors under Mac OS X (version 10.4 "Tiger" to 10.6 "Snow Leopard"). Version 2.0 is the latest for PowerPC machines.

IBM PC and older Windows In summer 1996 the version MagiC-PC was released, now allowing Atari ST users to run their software on top of MS-DOS based Windows 9x to ME, as well as under more modern Windows NT 4 to XP. Atari files and directories were organised in drive containers, which represented bigger file archives for Windows. Windows' own directories were mapped as partitions to access them. Networking access and printing via Windows and Novell NetWare was provided for the Atari environment. System requirements for emulating an Atari ST or STE system were:

A PC with minimum of 16 megabytes of RAM An Intel 80486 processor, or those comparable in performance by other manufacturers For speed similar to an Atari Falcon system (with Motorola 68030):

An Intel Pentium (P5/80586) at 100 MHz and higher, or comparable processors of other manufacturers To achieve faster program execution than on original Atari environments, higher clocked CPUs and more usable system memory were good upgrades for PCs.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with MagiC

Start with the simplest possible case. Write down what MagiC claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MagiC before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MagiC ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MagiC

In research
MagiC appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MagiC in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MagiC is common in secondary-school and first-year university syllabi. It links to neighbouring topics Atari ST software, Atari operating systems, Disk operating systems, so understanding it makes those chapters shorter.
In everyday life
Look for MagiC outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MagiC” →

How to study MagiC in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MagiC means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MagiC out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MagiC in simple terms?

MagiC is a third party and now open-sourced multitasking-capable TOS-compatible operating system for Atari ST (32-bit) computers, including some newer clone systems manufactured later. There are also variants that run as part of Mac and PC emulation environments, as well as on mac OS Intel-Mac comp…

Why does MagiC matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MagiC?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MagiC.

Tags

  • Atari ST software
  • Atari operating systems
  • Disk operating systems
  • Free software operating systems
  • GEM software
  • MacOS software
  • Windows software

Keep exploring