OS4 DepotLogo by Kicko 
(anonymous IP: 18.119.125.240,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Utility » crash.lha

Crash

Description: "Safely" crashes with purpose - C source included
Download: crash.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 1.2
Date: 23 Jul 21
Author: Marko K. Seppänen
Submitter: Marko Seppänen
Homepage: http://www.m4rko.com/amiga
Category: development/utility
Replaces: development/utility/crash.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 11765
 
Comments: 5
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Crash - 1.2 + source with makefile
===========

Warning: This program will crash with purpose!

A small and simple command that "safely" crashes, by writing to address 0
that is protected and guaranteed never written to.

Why would you want a program that crashes?

I for example, sometimes need a "safe" way to crash a program so I can check
where the error output is going, etc etc.

C source code included with a makefile.


Installation
------------
1. Unarchive the package.
2. Just copy the file Crash in the Crash drawer to your C:
3. Done.


Compiling the Source
--------------------
1. Open Shell.
2. Locate the drawer where you did put Crash and cd into the src/ drawer.
3. Write the folling in Shell:
     1> make


Changes
-------
Version 1.2: (2021 Jun)
  - Added a warning that is printed out.
  - Added a countdown of 3 seconds (so the user has a chance to abort).
  - Updated the Makefile.
Version 1.1: (2021 Jun)
  - Fixed the makefile to make a release including the source code.
  - Fixed the makefile to clean (delete) correctly.
Version 1.0: (2014 May)
  - Initial release.


Author
------
Marko K. Seppänen


Homepage
--------
http://m4rko.com/amiga



Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment