repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
a1ive/grub | 2,177 | grub-core/tests/boot/kbsd.init-x86_64.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 1,575 | grub-core/tests/boot/linux.init-ppc.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2012 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 1,604 | grub-core/tests/boot/linux.init-i386.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 2,312 | grub-core/tests/boot/kfreebsd.init-i386.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 1,544 | grub-core/tests/boot/linux.init-x86_64.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 1,225 | grub-core/tests/boot/kernel-i386.S | #define ASM_FILE 1
#ifdef TARGET_MULTIBOOT2
#include <multiboot2.h>
#elif defined (TARGET_MULTIBOOT)
#include <multiboot.h>
#endif
.text
/* Align 32 bits boundary. */
.align 8
#ifdef TARGET_MULTIBOOT2
/* Multiboot header. */
multiboot_header:
/* magic */
.long MULTIBOOT2_HEADER_MAGIC
/* ISA: i386 */
.long ... |
a1ive/grub | 1,558 | grub-core/tests/boot/linux.init-mips.S | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
a1ive/grub | 2,977 | grub-core/map/pc/drivemap_int13h.S | /* drivemap_int13h.S - interrupt handler for the BIOS drive remapper */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
A2nkF/macOS-Kernel-Exploit | 3,876 | kernel.s | ; This is the privilege escalation code and it will be run
; after we've disabled SMEP. I'm doing this in assembly because
; the kernel is going to execute this code as 64bit so the privilege
; escalation part has to be 64bit. However our exploit program is 32bit
; and the simplest way to have 64 and 32 bit code in one... |
a2stuff/a2d | 3,965 | src/selector/loader.s | ;;; ============================================================
;;; Loader
;;;
;;; Compiled as part of selector.s
;;; ============================================================
BEGINSEG SegmentLoader
;;; Loads the Invoker (page 2/3), Selector App (at $4000...$A1FF),
;;; and Resources (Aux LC), then invokes... |
a2stuff/a2d | 53,794 | src/selector/app.s | ;;; ============================================================
;;; Selector Application
;;;
;;; Compiled as part of selector.s
;;; ============================================================
BEGINSEG SegmentApp
;;; ============================================================
;;; MGTK library
ASSER... |
a2stuff/a2d | 3,421 | src/selector/ovl_file_dialog.s | ;;; ============================================================
;;; Run a Program File Picker Dialog - Overlay #1
;;;
;;; Compiled as part of selector.s
;;; ============================================================
BEGINSEG OverlayFileDialog
.scope file_dialog
.org ::OVERLAY_ADDR
BTKEntry... |
a2stuff/a2d | 2,519 | src/selector/selector.s | .include "../config.inc"
BTK_SHORT = 1
.include "apple2.inc"
.include "apple2.mac"
.include "opcodes.inc"
.include "../inc/macros.inc"
.include "../inc/apple2.inc"
.include "../inc/prodos.inc"
.include "../mgtk/mgtk.inc"
.include "../tool... |
a2stuff/a2d | 16,858 | src/selector/ovl_file_copy.s | ;;; ============================================================
;;; Recursive File Copy - Overlay #2
;;;
;;; Compiled as part of selector.s
;;; ============================================================
BEGINSEG OverlayCopyDialog
.scope file_copier
AdjustFileEntryCase := app::AdjustFileEntryCase
... |
a2stuff/a2d | 4,195 | src/selector/alert_dialog.s | ;;; ============================================================
;;; Resources
;;;
;;; Compiled as part of selector.s
;;; ============================================================
BEGINSEG SegmentAlert
.proc AlertById
jmp start
;;; --------------------------------------------------
;;; Message... |
a2stuff/a2d | 48,351 | src/desktop.system/desktop.system.s | .include "../config.inc"
RESOURCE_FILE "desktop.system.res"
.include "apple2.inc"
.include "opcodes.inc"
.include "../inc/apple2.inc"
.include "../inc/macros.inc"
.include "../inc/prodos.inc"
.include "../inc/smartport.inc"
.include "../common.in... |
a2stuff/a2d | 270,951 | src/mgtk/mgtk.s |
;;; ============================================================
;;; MouseGraphics ToolKit
;;; ============================================================
.scope mgtk
MGTKEntry := *
kScreenWidth = 560
kScreenHeight = 192
;;; ============================================================
;;; ZP Usage
... |
a2stuff/a2d | 1,655 | src/lib/disconnect_ram.s | ;;; ============================================================
;;; Disconnect /RAM (Slot 3, Drive 2) if present.
;;; Requires:
;;; * `saved_ram_unitnum` (byte) to be defined
;;; * `saved_ram_drvec` (word) to be defined
;;; * `saved_ram_buffer` (16 bytes) to be defined
;;; =============================================... |
a2stuff/a2d | 4,072 | src/lib/event_params.s | ;;; ============================================================
;;; Consolidated event params
;;;
;;; Reserves 10 bytes of space, and provides event params with
;;; overlapping structs for:
;;; `event_params`
;;; `activatectl_params`
;;; `trackthumb_params` (with x/y matching event x/y)
;;; `updatethumb_params`
;;; `s... |
a2stuff/a2d | 1,691 | src/lib/detect_lcmeve.s | ;;; ============================================================
;;; Detect Le Chat Mauve Eve card
;;; Output: non-zero if LCM Eve detected
;;; Assert: ROM is banked in
.proc DetectLeChatMauveEve
;; Based on IDENTIFICATION from the LCM Eve manual, pages 92-94
kSentinelValue = $EE
kModeValue = ... |
a2stuff/a2d | 2,930 | src/lib/doubleclick.s | ;;; ============================================================
;;; Double Click Detection
;;; Returns with A=0 if double click, A=$FF otherwise.
.proc DetectDoubleClick
;; Stash initial coords
ldx #.sizeof(MGTK::Point)-1
DO
copy8 event_params+MGTK::Event::coords,x, coords,x
... |
a2stuff/a2d | 5,818 | src/lib/bootstrap.s | ;;; ============================================================
;;; Bootstrap
;;;
;;; Compiled as part of DeskTop and Selector
;;; ============================================================
.org MODULE_BOOTSTRAP
;;; Install QuitRoutine to the ProDOS QUIT routine
;;; (Main, LCBANK2) and invoke it.
.proc In... |
a2stuff/a2d | 2,268 | src/lib/save_textpage.s | ;;; ============================================================
;;; Save/Restore Text Page
;;;
;;; Used in accessories to preserve MGTK caches when operations
;;; might trash the text page (e.g. initializing SSC)
;;; ============================================================
.scope save_textpage_impl
ptr_s... |
a2stuff/a2d | 3,715 | src/lib/speed.s | ;;; ============================================================
;;; Accelerator (speed) control
;;;
;;; Not as full featured as lib/normfast.s - just used for
;;; *temporary* speed changes e.g. around alert sounds.
;;;
;;; Currently handles:
;;; * IIgs built-in accelerator
;;; * Mac IIe Option Card built-in accelerato... |
a2stuff/a2d | 1,258 | src/lib/get_next_event.s | ;;; ============================================================
;;; GetNextEvent helper
;;; `GetNextEvent` - calls MGTK::GetEvent but synthesizes:
;;; * `kEventKindMouseMoved` if the mouse moves
;;;
;;; It is not necessary to use this, but useful in event loops
;;; where mouse movement is worth distinguishing.
;;;
;;... |
a2stuff/a2d | 3,912 | src/lib/load_settings.s | ;;; ============================================================
;;; Load settings and alert sound (if present; otherwise default)
;;; and install in the ProDOS QUIT code area in Main/LCBank2.
;;;
;;; Required:
;;; * `SETTINGS_IO_BUF` - 1k ProDOS I/O buffer for the load
;;; Assert: Called with ROMIN/ALTZPOFF
;;; ======... |
a2stuff/a2d | 3,921 | src/lib/filetypestring.s | ;;; ============================================================
;;; Requires: `hex_digits` to be defined as "0123456789ABCDEF"
;;; ============================================================
;;; Populated by call to `ComposeFileTypeString`
str_file_type:
PASCAL_STRING "$00"
;;; Input: A = ProDOS file type
;... |
a2stuff/a2d | 6,746 | src/lib/lz4fh6502.s | ;;; From https://github.com/fadden/fhpack
;;; Converted to ca65 format by @inexorabletash
;;; Modifications noted with `A2D`
A2D = 1
;;; Code is covered by Apache License 2.0
;;; http://www.apache.org/licenses/LICENSE-2.0
;;; ********************************
;;; * *
;;; * LZ4FH uncompres... |
a2stuff/a2d | 6,646 | src/lib/smartport.s | ;;; NOTE: Can be called with ALTZPON or OFF, and LCBANK1 or ROMIN2;
;;; the initial banking state will be preserved.
;;; Internal ProDOS tables are used to handle mirrored drives. The
;;; locations vary between ProDOS versions. For details, see:
;;; https://github.com/a2stuff/a2d/issues/685
;;; TODO: Handle additiona... |
a2stuff/a2d | 25,956 | src/lib/recursive_copy.s | ;;; ============================================================
;;; Generic Recursive Operation Logic
;;; ============================================================
;;; Implements recursive directory iteration; callers must implement a
;;; set of callbacks and error handlers. For file copying (the most
;;; common c... |
a2stuff/a2d | 1,686 | src/lib/drawdialogpath.s | ;;; Draw a path (long string) in the progress dialog by without intruding
;;; into the border. If the string is too long, it is shrunk from the
;;; center with "..." inserted.
;;; Inputs: A,X = string address
;;; Trashes $06...$0C
;;; `kProgressDialogPathWidth` must be defined
.proc DrawDialogPath
ptr := $6
... |
a2stuff/a2d | 3,337 | src/lib/ramcard.s | ;;; ============================================================
;;; Access data stashed in Main LCBANK2 by DESKTOP.SYSTEM which
;;; indicates whether or not DeskTop was copied to a RAMCard.
;;; If stashed, then both the RAMCard prefix and the original
;;; prefix can be fetched.
;;; Define `RC_AUXMEM` if caller is run... |
a2stuff/a2d | 2,116 | src/lib/bell.s | ;;; ============================================================
;;; Bell
;;;
;;; Requires these definitions:
;;; * `kBellProcLength` - size of sound procs
;;; * `BELLPROC` - runtime location of sound procs
;;; * `SlowSpeed` - slow accelerator, if needed
;;; * `ResumeSpeed` - resume accelerator, if needed
.proc Bell
... |
a2stuff/a2d | 2,240 | src/lib/inttostring.s | ;;; ============================================================
;;; Entry points:
;;; IntToString - no thousands separators
;;; IntToStringWithSeparators - thousands separator
;;; Input: 16-bit unsigned integer in A,X
;;; Output: length-prefixed string in str_from_int
.scope inttostring_impl
ENTRY_POINTS... |
a2stuff/a2d | 8,900 | src/lib/lzsa.s | ; LZSA 'decompress_fast_v2.s'
; note -- modified by Vince Weaver to assemble with ca65
; -----------------------------------------------------------------------------
; Decompress raw LZSA2 block.
; Create one with lzsa -r -f2 <original_file> <compressed_file>
;
; in:
; * LZSA_SRC_LO and LZSA_SRC_HI contain the compre... |
a2stuff/a2d | 3,171 | src/lib/save_settings.s | ;;; ============================================================
;;; Save Settings
;;;
;;; Used in control panel DAs
;;; ============================================================
filename:
PASCAL_STRING kPathnameDeskTopConfig
filename_buffer:
.res kPathBufferSize
write_buffer := DA_IO_BUFF... |
a2stuff/a2d | 5,192 | src/lib/adjustfilecase.s | ;;; ============================================================
;;; Adjust filename case, using GS/OS bits or heuristics
;;; Per Technical Note: GS/OS #8: Filenames With More Than CAPS and Numerals
;;; https://web.archive.org/web/2007/http://web.pdx.edu/~heiss/technotes/gsos/tn.gsos.08.html
;;; AdjustFileEntryCase:
;... |
a2stuff/a2d | 1,163 | src/lib/default_sound.s | ;;; ============================================================
;;; Default Sound
;;; ============================================================
;;; From ProDOS 8 Technical Reference Manual 5.4:
;;; "The standard Apple II "Air-raid" bell has been replaced with a
;;; gentler tone. Use it to give users some aural fee... |
a2stuff/a2d | 1,535 | src/lib/prng.s | ;;; ============================================================
;;; Pseudorandom Number Generation
;;; From https://www.apple2.org.za/gswv/a2zine/GS.WorldView/v1999/Nov/Articles.and.Reviews/Apple2RandomNumberGenerator.htm
;;; By David Empson
;;; NOTE: low bit of N and high bit of N+2 are coupled
.scope PRNGState
R1... |
a2stuff/a2d | 2,225 | src/lib/default_settings.s | ;;; ============================================================
;;; Default Settings
;;;
;;; Keep in sync w/ DeskTopSettings definition/offsets
;;; ============================================================
.proc DefaultSettings
settings_start := *
ASSERT_ADDRESS settings_start + DeskTopSettings::p... |
a2stuff/a2d | 1,647 | src/lib/readwrite_settings.s | ;;; ============================================================
;;; Read or write a value to the settings store in Main/LCBank2.
;;;
;;; Can be called with any banking configuration - from Main or Aux.
;;; (`ALTZPON`/`ALTZPOFF`; `ROMIN2`/`LCBANK1`/`LCBANK2`)
;;;
;;; Inputs: X = offset into DeskTopSettings struct
;;; ... |
a2stuff/a2d | 9,621 | src/lib/normfast.s | .scope NORMFAST
;;; ------------------------------------------------------------
;;; Code from:
;;; 3b74ddcf-190c-4591-bced-17e165ece668@googlegroups.com
;;; https://groups.google.com/d/topic/comp.sys.apple2/e-2Lx-CR1dM/discussion
;;; * Converted to ca65 syntax (:=/= instead of .equ)
;;; * .org removed
;;; * 65c02 usa... |
a2stuff/a2d | 12,458 | src/lib/formatdiskii.s | ;;; ============================================================
;;; Disk II - Format
;;; Inputs: A = unit_number
.proc FormatDiskII
.assert .lobyte(*) = 0, error, "Must be page aligned"
.macro exit_with_result arg
lda #arg
jmp _Exit
.endmacro
php
sei
jsr L... |
a2stuff/a2d | 2,661 | src/lib/is_diskii.s | ;;; ============================================================
;;; Test if a device is a Disk II, following ProDOS rules.
;;; Only 16-sector Disk II devices are considered, as ProDOS
;;; does not support 13-sector Disk II devices.
;;; Inputs: unit number in A
;;; Outputs: Z=1 if Disk II, Z=0 otherwise
;;; Notes: A,X,... |
a2stuff/a2d | 9,510 | src/lib/datetime.s | ;;; ============================================================
;;; Populate `str_time` with time. Uses `clock_24hours` flag in settings.
;;; Inputs: A,X = ParsedDateTime
;;; Outputs: `str_time` is populated
.proc MakeTimeString
parsed_ptr := $06
stax parsed_ptr
;; Cache settings
... |
a2stuff/a2d | 1,466 | src/lib/detect_megaii.s | ;;; ============================================================
;;; Detect the Mega II, the Apple II "computer-on-a-chip" used to
;;; implement a substantial amount of the logic for the IIgs. Notably,
;;; it provides `NEWVIDEO` softswitch support, which allows software
;;; control over color/monochrome DHGR graphics. ... |
a2stuff/a2d | 1,442 | src/lib/rom_call.s | ;;; ============================================================
;;; ROMCall - this allows calling into the ROM while LCBANK1
;;; is banked in, while preserving A,X,Y,P into and out of the
;;; call. Callers provide the ROM entry point as two bytes
;;; after the JSR, e.g. JSR ROMCall / .addr ADDR
.proc ROMCall
... |
a2stuff/a2d | 7,514 | src/lib/file_dialog_res.s | ;;; ============================================================
;;; Resources for lib/file_dialog.s
;;;
;;; Separated to support running from a separate bank than
;;; the resources.
;;; ============================================================
.scope file_dialog_res
;;; Must be visible to MGTK
filename_buf:
... |
a2stuff/a2d | 42,230 | src/lib/file_dialog.s | ;;; ============================================================
;;; Common File Picker Dialog
;;;
;;; Required includes:
;;; * lib/adjustfilecase.s
;;; * lib/doubleclick.s
;;; * lib/event_params.s
;;; * lib/file_dialog_res.s
;;; * lib/get_next_event.s
;;;
;;; Requires these macros to be functional:
;;; * `MLI_CALL`
;;... |
a2stuff/a2d | 4,047 | src/lib/menuclock.s | ;;; Render current time to right side of menu bar
;;;
;;; `ShowClockForceUpdate`: force an update, even if time hasn't changed
;;; `ShowClock`: only update if time has changed
;;;
;;; Requires:
;;; `ReadSetting` defined
;;; `MGTK_CALL` defined
;;; lib/datetime.s for parsing functions
;;; `dow_strings` table... |
a2stuff/a2d | 2,475 | src/lib/loader_progress.s | ;;; ============================================================
;;; Display progress bar on text screen.
;;; Used by Desktop.system, Desktop and Selector
;;;
;;; Clients:
;;; * must define `kProgressStops`
;;; * call `InitProgress` once
;;; * call `UpdateProgress` for each stop
;;; Assertions:
;;; * ROM is banked in, ... |
a2stuff/a2d | 4,441 | src/lib/detect_thecricket.s | ;;; ============================================================
;;; Detect The Cricket! attached to SSC in slot 2
;;;
;;; Inputs: $06 points at $Cs00
;;; Outputs: C=1 if detected, C=0 otherwise
;;; Assert: Interrupts disabled
;;; ============================================================
.proc DetectTheCricket
... |
a2stuff/a2d | 16,327 | src/lib/alert_dialog.s | ;;; ============================================================
;;; Alert Dialog Definition
;;;
;;; Call `Alert` with A,X = `AlertParams` struct
;;;
;;; Requires the following proc definitions:
;;; * `Bell`
;;; * `SystemTask`
;;; Requires the following data definitions:
;;; * `alert_grafport`
;;; Requires the followin... |
a2stuff/a2d | 5,331 | src/lib/invoker.s | ;;; ============================================================
;;; Invoker - loaded into MAIN $290-$3EF
;;;
;;; Compiled as part of DeskTop and Selector
;;; ============================================================
;;; Used to invoke other programs (system, binary, BASIC)
BEGINSEG SegmentInvoker
.scope ... |
a2stuff/a2d | 3,896 | src/lib/monocolor.s | ;;; ============================================================
;;; Procs to set monochrome and color DHR mode
;;;
;;; API:
;;; * `SetColorMode` - set DHR color mode
;;; * `SetMonoMode` - set DHR monochrome mode
;;; * `SetRGBMode` - set preferred mode per settings
;;; * `ResetIIgsRGB` - set preferred mode, but only on... |
a2stuff/a2d | 8,369 | src/desk.acc/matrix.s | ;;; ============================================================
;;; MATRIX - Desk Accessory
;;;
;;; Digital waterfall effect from The Matrix.
;;; (This is a good sample for text-mode screen savers.)
;;; ============================================================
.include "../config.inc"
.include "ap... |
a2stuff/a2d | 30,221 | src/desk.acc/eyes.s | ;;; ============================================================
;;; EYES - Desk Accessory
;;;
;;; Shows a resizable window with eyes that follow the mouse.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "eyes.res"
.include "apple2.inc"
... |
a2stuff/a2d | 39,567 | src/desk.acc/date.and.time.s | ;;; ============================================================
;;; DATE.AND.TIME - Desk Accessory
;;;
;;; Shows the current ProDOS date/time, and allows editing if there
;;; is no clock driver installed. Also exposes the 12/24-hour clock
;;; setting, and will update the settings file.
;;; ============================... |
a2stuff/a2d | 69,785 | src/desk.acc/cd.remote.s | ;;; ============================================================
;;; CD.REMOTE - Desk Accessory
;;;
;;; Control an AppleCD SC via SCSI card
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "cd.remote.res"
.include "apple2.inc"
.inc... |
a2stuff/a2d | 35,558 | src/desk.acc/map.s | ;;; ============================================================
;;; MAP - Desk Accessory
;;;
;;; A simple world map
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "map.res"
.include "apple2.inc"
.include "../inc/apple2.inc"
... |
a2stuff/a2d | 16,299 | src/desk.acc/joystick.s | ;;; ============================================================
;;; JOYSTICK - Desk Accessory
;;;
;;; A simple joystick calibration tool
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "joystick.res"
.include "apple2.inc"
.includ... |
a2stuff/a2d | 2,033 | src/desk.acc/darkness.s | ;;; ============================================================
;;; DARKNESS - Desk Accessory
;;;
;;; Paints the screen a dark pattern... and leaves it that way.
;;; For ensuring repaints are minimal. Best used bound to a
;;; menu item in Shortcuts and triggered with a shortcut key.
;;; ===============================... |
a2stuff/a2d | 12,592 | src/desk.acc/system.speed.s | ;;; ============================================================
;;; SYSTEM.SPEED - Desk Accessory
;;;
;;; Allows toggling the machine's accelerator (if present)
;;; between normal and fast speed.
;;;
;;; Based on NORMFAST by "Roger" et. al. on comp.sys.apple2
;;; 3b74ddcf-190c-4591-bced-17e165ece668@googlegroups.com
;... |
a2stuff/a2d | 27,895 | src/desk.acc/neko.s | ;;; ============================================================
;;; NEKO - Desk Accessory
;;;
;;; Playful cat screen saver
;;; Originally by Naoshi Watanabe, Kenji Gotoh, & others
;;;
;;; Icons exported via 'DeRez neko' on macOS 12.6.1 "Monterey"
;;; by Frank Milliron 12/12/22
;;; =====================================... |
a2stuff/a2d | 5,777 | src/desk.acc/run.basic.here.s | ;;; ============================================================
;;; RUN.BASIC.HERE - Desk Accessory
;;;
;;; Launches BASIC.SYSTEM with PREFIX set to the path of the
;;; current window. BYE will return to DeskTop. Looks for
;;; BASIC.SYSTEM up the directory tree from DeskTop itself.
;;; ================================... |
a2stuff/a2d | 6,584 | src/desk.acc/random.s | ;;; ============================================================
;;; RANDOM - Desk Accessory
;;;
;;; Launches a random desk accessory in the same folder.
;;; ============================================================
;; BUG: Saw an infinite loop (make sense since ticks don't change)
.include "../co... |
a2stuff/a2d | 13,910 | src/desk.acc/flying.toasters.s | ;;; ============================================================
;;; FLYING.TOASTERS - Desk Accessory
;;;
;;; Clears the screen and animates a pleasing distraction.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/... |
a2stuff/a2d | 19,405 | src/desk.acc/sort.directory.s | ;;; ============================================================
;;; SORT.DIRECTORY - Desk Accessory
;;;
;;; Sorts the contents of the directory (current window).
;;; If there is a selection, selected files are placed first
;;; following selection order. If there is no selection, all
;;; files are sorted by type then b... |
a2stuff/a2d | 21,166 | src/desk.acc/international.s | ;;; ============================================================
;;; INTERNATIONAL - Desk Accessory
;;;
;;; Configure internationalization settings.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "international.res"
.include "apple2.inc"... |
a2stuff/a2d | 85,888 | src/desk.acc/this.apple.s | ;;; ============================================================
;;; THIS.APPLE - Desk Accessory
;;;
;;; Displays information about the current computer. The data
;;; shown includes:
;;; * Model
;;; * CPU
;;; * Expanded/RAMWorks Memory
;;; * ProDOS version
;;; * Contents of each expansion slot
;;; ======... |
a2stuff/a2d | 53,278 | src/desk.acc/control.panel.s | ;;; ============================================================
;;; CONTROL.PANEL - Desk Accessory
;;;
;;; A control panel offering system settings:
;;; * DeskTop pattern
;;; * Mouse tracking speed
;;; * Double-click speed
;;; * Insertion point blink rate
;;; ===================================================... |
a2stuff/a2d | 13,898 | src/desk.acc/lights.out.s | ;;; ============================================================
;;; LIGHTS.OUT - Desk Accessory
;;;
;;; Click to toggle lights. Try to turn them all off.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "lights.out.res"
.include "apple2.i... |
a2stuff/a2d | 15,163 | src/desk.acc/benchmark.s | ;;; ============================================================
;;; BENCHMARK - Desk Accessory
;;;
;;; Uses VBL to probe system speed.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "benchmark.res"
.include "apple2.inc"
.include... |
a2stuff/a2d | 10,722 | src/desk.acc/rods.pattern.s | ;;; ============================================================
;;; RODS.PATTERN - Desk Accessory
;;;
;;; Rod’s Color Pattern - From the Apple ][ "Red Book"
;;; Adapted from Dr. John B. Matthews for A2D by Frank Milliron
;;; https://sites.google.com/site/drjohnbmatthews/apple2
;;; =====================================... |
a2stuff/a2d | 7,656 | src/desk.acc/print.screen.s | ;;; ============================================================
;;; PRINT.SCREEN - Desk Accessory
;;;
;;; Dumps the contents of the graphics screen to an ImageWriter
;;; printer connected to a Super Serial Card in Slot 1.
;;; ============================================================
.include "../config.inc... |
a2stuff/a2d | 22,706 | src/desk.acc/show.duet.file.s | ;;; ============================================================
;;; SHOW.DUET.FILE - Desk Accessory
;;;
;;; Electric Duet by Paul Lutus
;;; Players by Alexander Patalenski and @cybernesto
;;;
;;; Preview accessory for playing Electric Duet files.
;;; ============================================================
... |
a2stuff/a2d | 43,838 | src/desk.acc/sci.calc.s | ;;; ============================================================
;;; SCI.CALC - Desk Accessory
;;;
;;; A scientific calculator.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "calculator.res"
.include "apple2.inc"
.include "../in... |
a2stuff/a2d | 27,729 | src/desk.acc/print.catalog.s | ;;; ============================================================
;;; PRINT.CATALOG - Desk Accessory
;;;
;;; Prints a recursive catalog for the current window (or all
;;; volumes) to a printer in Slot 1.
;;; ============================================================
.include "../config.inc"
RESOURCE_F... |
a2stuff/a2d | 43,904 | src/desk.acc/show.image.file.s | .include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
.include "../inc/macros.inc"
.include "../inc/prodos.inc"
.include "../mgtk/mgtk.inc"
.include "../common.inc"
.include "../desktop/desktop.inc"
;;; =============================... |
a2stuff/a2d | 3,302 | src/desk.acc/screenshot.s | ;;; ============================================================
;;; SCREENSHOT - Desk Accessory
;;;
;;; Saves the contents of the graphics screen to a file.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.... |
a2stuff/a2d | 41,114 | src/desk.acc/sounds.s | ;;; ============================================================
;;; SOUNDS - Desk Accessory
;;;
;;; A control panel offering selecting different alert sounds.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "sounds.res"
.include "apple2.... |
a2stuff/a2d | 2,178 | src/desk.acc/invert.s | ;;; ============================================================
;;; INVERT - Desk Accessory
;;;
;;; Inverts the screen.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
.include "../inc/macros.... |
a2stuff/a2d | 29,735 | src/desk.acc/key.caps.s | ;;; ============================================================
;;; KEY.CAPS - Desk Accessory
;;;
;;; Displays a map of the keyboard, showing what key is pressed.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "key.caps.res"
.include "a... |
a2stuff/a2d | 13,366 | src/desk.acc/views.s | ;;; ============================================================
;;; VIEWS - Desk Accessory
;;;
;;; A control panel offering option settings:
;;; * Initial view style
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "views.res"
.include ... |
a2stuff/a2d | 33,895 | src/desk.acc/show.text.file.s | .include "../config.inc"
RESOURCE_FILE "show.text.file.res"
.include "apple2.inc"
.include "../inc/apple2.inc"
.include "../inc/macros.inc"
.include "../inc/prodos.inc"
.include "../mgtk/mgtk.inc"
.include "../common.inc"
.include "../desktop/desk... |
a2stuff/a2d | 12,503 | src/desk.acc/show.font.file.s | .include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
.include "../inc/macros.inc"
.include "../inc/prodos.inc"
.include "../mgtk/mgtk.inc"
.include "../common.inc"
.include "../desktop/desktop.inc"
;;; =============================... |
a2stuff/a2d | 3,122 | src/desk.acc/round.corners.s | ;;; ============================================================
;;; ROUND.CORNERS - Desk Accessory
;;;
;;; Hack that rounds the corners of the screen.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
... |
a2stuff/a2d | 32,076 | src/desk.acc/puzzle.s | ;;; ============================================================
;;; PUZZLE - Desk Accessory
;;;
;;; A classic 15-square sliding puzzle.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "puzzle.res"
.include "apple2.inc"
.include "... |
a2stuff/a2d | 3,274 | src/desk.acc/melt.s | ;;; ============================================================
;;; MELT - Desk Accessory
;;;
;;; Wipes the screen in an amusing way.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
.include "... |
a2stuff/a2d | 40,986 | src/desk.acc/find.files.s | ;;; ============================================================
;;; FIND.FILES - Desk Accessory
;;;
;;; Presents a dialog with a text field to enter a search
;;; string, then searches for files (in the current directory
;;; and child directories) for matching filenames. Wildcards
;;; are ? and *.
;;; =================... |
a2stuff/a2d | 7,302 | src/desk.acc/helix.s | ;;; ============================================================
;;; HELIX - Desk Accessory
;;;
;;; Clears the screen and animates a pleasing distraction.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc... |
a2stuff/a2d | 22,078 | src/desk.acc/calendar.s | ;;; ============================================================
;;; CALENDAR - Desk Accessory
;;;
;;; A simple month calendar
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "calendar.res"
.include "apple2.inc"
.include "opcodes.... |
a2stuff/a2d | 9,401 | src/desk.acc/digital.clock.s | ;;; ============================================================
;;; DIGITAL.CLOCK - Desk Accessory
;;;
;;; Clears the screen and shows the current time/date.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2... |
a2stuff/a2d | 6,293 | src/desk.acc/message.s | ;;; ============================================================
;;; MESSAGE - Desk Accessory
;;;
;;; The typed message scrolls across the screen
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "message.res"
.include "apple2.inc"
... |
a2stuff/a2d | 12,963 | src/desk.acc/options.s | ;;; ============================================================
;;; OPTIONS - Desk Accessory
;;;
;;; A control panel offering option settings:
;;; * Copy to RAMCard on startup
;;; * Start Selector if present
;;; * Show shortcuts for buttons
;;; ============================================================
... |
a2stuff/a2d | 43,366 | src/desk.acc/dos33.import.s | ;;; ============================================================
;;; DOS3.3.IMPORT - Desk Accessory
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "dos33.import.res"
.include "apple2.inc"
.include "../inc/apple2.inc"
.inc... |
a2stuff/a2d | 21,331 | src/desk.acc/change.type.s | ;;; ============================================================
;;; CHANGE.TYPE - Desk Accessory
;;;
;;; Shows the ProDOS type and auxtype of selected files, and lets the
;;; user edit either or both.
;;; ============================================================
.include "../config.inc"
RESOURCE_FI... |
a2stuff/a2d | 38,460 | src/desk.acc/calculator.s | ;;; ============================================================
;;; CALCULATOR - Desk Accessory
;;;
;;; A basic four-function calculator.
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "calculator.res"
.include "apple2.inc"
.inc... |
a2stuff/a2d | 8,816 | src/desk.acc/analog.clock.s | ;;; ============================================================
;;; ANALOG.CLOCK - Desk Accessory
;;;
;;; Clears the screen and shows the current time.
;;; ============================================================
.include "../config.inc"
.include "apple2.inc"
.include "../inc/apple2.inc"
... |
a2stuff/a2d | 13,352 | src/desk.acc/bounce.s | ;;; ============================================================
;;; BOUNCE - Desk Accessory
;;;
;;; Bouncing apples, vaguely inspired by Andy Hertzfeld's 1982
;;; "MacIntosh DeskTop Demo".
;;; ============================================================
.include "../config.inc"
RESOURCE_FILE "bounce.r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.