TweetFollow Us on Twitter

Drivers
Volume Number:7
Issue Number:7
Column Tag:C Workshop

Related Info: Device Manager Menu Manager

Addicted to DRiVeRs

By Dan Green, Manassas, VA

Note: Source code files accompanying article are located on MacTech CD-ROM or source code disks.

Evolution of a Desk Accessory or Addicted to DRiVeRs

MenuMem is the name that I have given to a desk accessory that I created one weekend back in ’87. It’s function is to display the amount of free memory (in the application heap) in the menu bar (in K). Sort of like the way those clock INITs keep the time in the menu bar.

A Brief History

Actually, when I first came up with the idea, I wanted to make an INIT, but the only way that I could think of to update the menu was to install a VBL task. Since the Memory Manger needs to be called, a VBL task is out of the question. A desk accessory seemed like a nice compromise since it would enable the addition of menu items.

This worked fine. As long as you didn’t mind choosing the desk accessory every time you opened a new application. After a few seconds I realized that if a trap was patched when the DA received a goodbye kiss, the DA could be opened back up again when a new application is started. Which one to patch? SystemTask seemed a logical choice. This way, the DA would never open up in an application that didn’t support DAs.

The code went something like this:

 case goodBye:
 .
 .
 .
 INSTALLPATCH()
 break;

where ThePatch() and INSTALLPATCH() are two assembly language routines, the code for which is given below (in MPW Asm).

;1

;   ThePatch() 
SystemTask      EQU     $1B4


ThePatch        PROC     EXPORT
STRING ASIS
ENTRY(StartSize,EndSize,DAName,OldTrapAddr) : CODE

StartSize
 subq   #2,A7  ; open the DA back up
 pea    DAName 
 _OpenDeskAcc
 addq   #2,A7
 move.w #SystemTask,D0
 move.l OldTrapAddr(PC),A0
 _SetTrapAddress ; remove our patch
 lea    ThePatch(PC),A0
 _DisposPtr ; deallocate our memory
 move.l OldTrapAddr(PC),A0
 jmp    (A0); and call SystemTask

OldTrapAddr         DC.L    0

; DAs begin with a NULL char so there are 8 total
DAName         DC.W    $0800
               DC.B    ‘MenuMem’
               ALIGN   2
EndSize
 ENDP

;   INSTALLPATCH() 
InstallPatch   PROC     EXPORT
STRING ASIS

PatchSize EQU     -6
NewTrapAddress EQU     -4

 link        A6,#-6
 move.l #(EndSize-StartSize),D0  move.wD0,Size(A6)
 _NewPtr,sys        ; Need patch in System Heap
 move.l A0,NewTrapAddress(A6)
 beq.s  Return
 move.w #SystemTask,D0     ; D0 = TrapNum
 _GetTrapAddress
 lea    OldTrapAddr(PC),A1
 move.l A0,(A1)+           ; Patch routine
 move.w PatchSize(A6),D0
 move.l NewTrapAddress(A6),A1 ; A1 = DstPtr
 lea    ThePatch(PC),A0       ; A0 = SrcPtr
 _BlockMove
 move.w #SystemTask,D0
 move.l NewTrapAddress(A6),A0
 _SetTrapAddress 

Return
 unlk   A6
 rts       ; Back to C Land

 ENDP

The Problem

This worked exactly as desired until MultiFinder appeared. When opened under MultiFinder, MenuMem acted like every other DA. That is, it would open up within the DA handler (unless the option key was held down when it was opened. In that case, like all other DAs, it would open up within the application running in the foreground). But when I switched to another application, no menu. Even worse, if I tried to open MenuMem again from within another application, MultiFinder would automatically switch me to the layer it was currently opened in. Furthermore, since MultiFinder keeps track of any patches that are installed by the application, and removes them when you switch to another one, my patch would never be called, and a small block of memory in the System Heap would be lost. This was totally unacceptable.

The Solution

The answer lies in opening the DA up before MultiFinder is ever run, and repeatedly making control calls to allow it to update it’s menu. If opened at startup time, there is an added advantage: No more trips to the Apple Menu. This approach is also perhaps somewhat simpler as there are no traps to patch, and no Assembly is required. You’ll still need two AA batteries though (Couldn’t resist). Of course, the internals of the DA have changed somewhat. It is now written in THINKC (The previous version was written in MPW C), and uses only 2 global variables.

Before I discuss the structure of the latest (and hopefully last) version of MenuMem I would like to mention a few words about THINKC. My advice for the few people out there who don’t have THINKC? GET IT. It is an absolutely wonderful development environment. Especially if you are into creating Desk Accessories or code resources (FKEYs, INITs, XCMDs, XFCNs etc.).

Since the beginning of time (January 1, 1904 to be exact) the creation of code resources in HLLs such as FORTRAN or Pascal has been hindered by the fact that no global variables were allowed (Most Mac compilers generate code that accesses global variables indirectly using register A5. Read the Memory and Segment Loader chapters of Inside Macintosh for more details on this). The more creative compiler writers have developed various implementations to allow the declaration of global variables in code resources, including appending globals to the end of the code. THINKC accesses global variables in code resources indirectly from register A4. In addition, if you are creating a device DRiVeR, THINKC will dynamically allocate a handle for your globals and store it in the dCtlStorage field of the DRiVeR’s device control entry, lock it, and dereference it into register A4. Though it is not stated in the manual, it is important to note that THINKC allocates this memory by calling GetResource(‘DATA’, drvrID), where drvrID is the owned resource ID of the DRiVeR, and then passing the returned handle to DetachResource() to remove it from the resource map. So if you need your globals to stick around between applications, you can use ResEdit to set the System Heap attribute.

Below is a description of the program and all of the routines, followed by the source code. This code is written under the assumption that the INIT, DRVR and DATA resources will be in the resource fork of the same file.

MenuMem: The INIT

pascal void main()

The INIT portion of MenuMem needs to load in and open the DRiVeR portion. However, if there is a resource of type ‘DRVR’ with the same ID as ours in the System file, or a DRiVeR with the same ID as ours is already installed in the Unit Table (but possibly not in the System file, just like MenuMem), then both our DRVR and DATA resources need to be renumbered. If the MenuMem DRiVeR can’t be loaded, then a beep will be heard during startup.

LoadDRVR(theName, theID)

This function calls GetResource(‘DRVR’, theID) to load MenuMem DRVR into memory. The System Heap attribute of both this and the associated DATA resource should be set to insure that both will hang around when the application heap is re-initialized. If the DRiVeR is loaded OK then DetachResource() is called to insure that the code will hang around when the resource fork of this startup document is closed. NOTE: THINKC detaches the associated ‘DATA’ from the resource fork automatically, so the global variables that are needed will be fine as long as the System Heap attribute is set. If the DRiVeR is opened successfully, the function returns noErr as its result.

Boolean DRVRXistsP(theID)

This function will return TRUE if a DRiVeR with a resource ID = theID exists in the resource fork of the System file or if one with the same ID has already been installed in the Unit Table (sort of like a librarian for DRiVeRs. This table is used by the system to keep track of data for opened ones) and FALSE otherwise. NOTE: It is important to check both the System file and the Unit Table since:

1) A DRiVeR installed in the System will not have an entry in the Unit Table at startup time, but WILL be entered when it is opened for the first time, and

2) A DRiVeR can be installed in the Unit Table and NOT in the System file (as is the case here).

If we don’t check the Unit Table, we could install ourselves over an installed DRiVeR that was meant to do some REAL work.

Boolean vacant_slotP(SUN, theSlot)

This function repeatedly searches the System file and checks the unit table. If/When it finds an ID for which no DRiVeR has been installed, it sets theSlot to the ID and returns TRUE. Otherwise it returns FALSE and the value of theSlot is undefined.

Boolean slot_takenP(unit_number)

This function checks to see if a DRiVeR with a reference number corresponding to ‘unit_number’ has been installed in the Unit Table. It does so by calling GetDCtlEntry(). If the call returns a device control entry, then a DRiVeR has already been opened (and thus installed), in which case the function returns TRUE. Otherwise it returns FALSE.

MenuMem: The DRiVeR

main(p,d,i)

This function gets called by THINKC when we receive Open, Close and Control calls. We just need to check the selector (i) to determine what the request is and call the appropriate function.

OpenDRVR(d,p)

This function simply resets the Flags, Delay, and Menu fields of the device control pointer since the device manager will set these fields from the header information.

setup_theMenu(d)

This is the routine that sets up the menu for the DRiVeR. It does not check to see if the menu already exists. Pascal style string constants must be declared as such since the CtoPstr() routine transforms the string in place.

ControlDRVR(d,p)

This routine is called periodically (every 5 seconds) to update the menu and to handle the case when our lone menu item “Compact Memory” is chosen.

update_theMenu(d)

This routine will create and install a menu for the DRiVeR, if the current amount of free memory the previous amount of free memory, or there is no menu with an ID = the owned resource ID of this DRiVeR. The latter will occur when opening a new application (whether running under MultiFinder or not). Any existing menu is deleted and disposed of before the new one is created.

CloseDRVR(d,p,x)

Since the dNeedGoodbye bit of the Flags field is set, the DRiVeR will get a goodbye kiss every time the application heap is re-initialized. This opportunity is taken to delete and dispose of the menu except for the first time (immediately before the Finder is run). In this case, not only has the Menu Manager not been initialized, but we don’t have a menu anyway. This routine will always return closeErr to insure that the DRiVeR is never closed.

And now here’s the code

/*------------------------------------------------

PROGRAM
 MenuMem - A combination INIT/DRVR that      displays the amount of free 
memory in the menu bar.

FILE
 “MenuMem INIT.c”

DESCRIPTION
 This file contains all of the code for the  INIT portion of the program, 
including the  functions LoadDRVR(), DRVRXistsP(),       slot_takenP(), 
and vacant_slotP().  It loads the DRVR and its associated DATA into the 
 system heap. 

Copyright © 1990 Daniel A. Green, and MacTutor. All rights reserved.

---------------------------------------------- */

/* -------------- INCLUDE FILES -------------- */
#include    “MacTypes.h”
#include    “string.h”
#include    “MenuMgr.h”
#include    <DeviceMgr.h>
#include    <ResourceMgr.h>
#include    “MenuMem.h”



/* --------------  PROTOTYPES  -------------- */
Boolean   DRVRXistsP(Integer theID);
Boolean   slot_takenP(Integer slot_num);
Boolean   vacant_slotP(Integer sun, Integer *the_slot);

/* --------------  FUNCTIONS  ---------------- */
pascal void main()
{
  Integer currentID, newID;
  ResType r_type;
  Str255  r_name;
  OSErr   theErr;
  Handle  theDATA, theDRVR, theINIT;

  theINIT = GetNamedResource(‘INIT’, DRVR_NAME);
  GetResInfo(theINIT, &currentID, &r_type, &r_name);

/************************************************* *
*  If there is an installed DRVR with the same ID *  as ours, 
*  then the resource ID of the INIT, DRVR, and its  
*  DATA should be changed.
*************************************************/
  if ( DRVRXistsP(currentID) )
    if ( vacant_slotP(DRVR_RSRCID, &newID) ) {

      SetResInfo(theINIT, newID, &r_name);

      theDRVR = GetResource(‘DRVR’, currentID);
      GetResInfo(theDRVR, &currentID, &r_type, &r_name);
      SetResInfo(theDRVR, newID, &r_name);

      theDATA = GetResource(‘DATA’,OWNEDRSRCID(
                         REFNUM(currentID) ) );
      GetResInfo(theDATA, &currentID, &r_type, &r_name);
      SetResInfo(theDATA, OWNEDRSRCID( 
                     REFNUM(newID) ), &r_name);

      currentID = newID;
  } else {
/* Max # of DRiVeRs installed. Just beep and return. */
      SysBeep(1);
      return;
  }

/* If we made it this far we can open the DRiVeR up */
  if ( LoadDRVR(&r_name, currentID) ) SysBeep(2);
};

/*************************************************
 LoadDRVR
*  Loads the DRiVeR into memory and opens it.  The *  System Heap attribute 
for
*  both the DRVR and DATA resources should be set *  to insure that neither 
will
*  be lost when the application heap is 
*  reinitialized.
*
*************************************************/
 
LoadDRVR(theName, theID)
Str255  *theName;
Integer theID;
{
  Integer theRefNum;
  OSErr   theErr;
  ResType theType;
  Handle  h, theDRVR;

  h = GetResource(‘DRVR’, theID);
  theErr = RESERROR();
  if (h && (theErr == noErr) )
    if ( (theErr = OpenDriver(theName, 
                           &theRefNum)) == noErr )
      DetachResource(h);

  return(theErr);
};

/*************************************************
 DRVRXistsP
*  returns TRUE if a DRiVeR with an ID of ‘theID’ *  exists in the resource 
fork
*  of the System File or a DRiVeR with an ID of 
*  ‘theID’ is in the Unit Table.
*  Otherwise returns FALSE.
************************************************/
 
Boolean DRVRXistsP(theID)
Integer theID;
{
  Boolean result = FALSE;
  Integer theRefNum;
  Handle  h;

/* Save the reference number of our resource file */
  theRefNum = CurResFile();
  UseResFile(0);  /* Use the System resource file */
  SetResLoad(FALSE);
  h = GetResource(‘DRVR’, theID);

/* If we can’t get a handle to the resource, then 
                          check the unit table  */
  if ( h || slot_takenP(theID) ) result = TRUE;
  if (h) ReleaseResource(h);
  SetResLoad(TRUE);
  UseResFile(theRefNum);
  return(result);
};

/*************************************************
 slot_takenP
*  If we can get a DCtlEntry for a given unit 
*  number, then a DRiVeR with the
*  given unit number has already been installed, 
*  so the function returns TRUE.
*  Otherwise it returns FALSE.
*************************************************/
 
Boolean slot_takenP(unit_number)
Integer unit_number;
{
  return( GetDCtlEntry( REFNUM( unit_number ) ) ? 
           TRUE : FALSE );
};

/*************************************************
 vacant_slotP
*  Repeatedly searches the System file and checks 
*  the unit table until an ID
*  has been found for which:
*      1).  No resource of type DRVR exists in the 
*           System file, and
*      2).  No entry exists in the unit table.
*  If an ID that satisfies the above criteria is 
*  found, the function sets
*  the_slot to the ID and returns TRUE.  Otherwise 
*  it returns FALSE.
 ************************************************/

Boolean vacant_slotP(sun, the_slot)
Integer sun;        /* the Starting Unit Number */
Integer *the_slot;
{
  Boolean vacant_slot = FALSE;
  Integer i, max, refnum, theRefNum;
  Handle  h;

  max = *(Integer *) (UnitNtryCnt);

  theRefNum = CurResFile(); /* Use System resource file */
  UseResFile(0); /* Don’t want to load the resources */
  SetResLoad(FALSE); /* Just check for their existence   */
  i = sun;
  do {
    h = GetResource(‘DRVR’, i);
    if (h == NULL) {
   /* Check the unit table */
      refnum = (-i) - 1;
      if ( GetDCtlEntry(refnum) == NULL) {
        vacant_slot = TRUE;
        *the_slot = i;
      }
    } else
      ReleaseResource(h);
    i++;
  } while ( !vacant_slot && (i < max) );

  SetResLoad(TRUE); /* Reset the search path */
  UseResFile(theRefNum);

  return(vacant_slot);
};

/*------------------------------------------------
PROGRAM
 MenuMem - A combination INIT/DRVR that
 displays the amount of free memory in the menu 
 bar.

FILE
  “MenuMem DRVR.c”

DESCRIPTION
  This file contains all of the code for the DRVR.
  In addition to the standard Open, Control, and 
  Close routines needed by all DRiVeRs, there are 
  two support routines, setup_theMenu() and 
  update_theMenu().  This DRiVeR does not support 
  read, write or status calls.

Copyright © 1990 Daniel A. Green, and MacTutor. All rights reserved.
---------------------------------------------- */

/* -------------- INCLUDE FILES -------------- */
#include    “MacTypes.h”
#include    “string.h”
#include    “MenuMgr.h”
#include    <DeviceMgr.h>
#include    <ResourceMgr.h>
#include    “MenuMem.h”

/* -------------- GLOBAL VARIABLES ---------- */
LongInt     free_memory = 0;   /* only need two */
Integer     first_close = TRUE;

/* --------------  FUNCTIONS  ---------------- */
main(p, d, i)
cntrlParam *p;      /*  ptr to parameter block  */
DCtlPtr d;          /*  ptr to device control entry */
Integer i;          /*  entry point selector    */
{
  Integer theErr;

  if (d->dCtlStorage == 0) {
      /* couldn’t get our storage */
    if (i == 0)     /* Open request ? */
      CloseDriver(d->dCtlRefNum);
    return(noErr);
  }

  switch (i) {      /* handle the request: */
    case 0:         /* open */
      theErr = OpenDRVR(d, p);
    break;

    case 2:         /* control */
      theErr = ControlDRVR(d, p); 
    break;

    case 4:         /* close */
      theErr = CloseDRVR(d, p);
    break;

    default: 
      theErr = noErr;
    break;
  }

  return(theErr);
};

/*************************************************
 OpenDRVR
*  This routine resets the dCtlFlags, dCtlDelay 
*  and dCtlMenu fields of the
*  DCtlPtr associated with the DRiVeR.
*************************************************/
 
OpenDRVR(d, p)
DCtlPtr d;
cntrlParam *p;
{

/* Don’t need to respond to Read, Write, or Status calls */
  d->dCtlFlags &= ~(dReadEnable | dWritEnable | dStatEnable);
/* but we do need time to update the menus every 5 
   seconds, and a goodbye kiss */
  d->dCtlFlags |= dNeedTime | dNeedGoodBye;
  d->dCtlDelay = 300;
  d->dCtlMenu = OWNEDRSRCID(d->dCtlRefNum);

return(noErr);
};

/*************************************************
 setup_theMenu
*  Creates a menu for which the title is the 
*  amount of free memory in the
*  application heap (in K), the first menu item is *  the number of free 
bytes in
*  the Application Heap (disabled), the second 
*  menu item is the number of free
*  bytes in the System Heap (disabled).  The 
*  fourth menu item, when chosen will
*  compact memory and purge all purgeable blocks 
*  from the application (read 
*  current) heap by calling the MaxMem trap.
*************************************************/
 
void setup_theMenu(d)
DCtlPtr d;
{
  char        *menuTitle;
  LongInt     fm;
  MenuHandle  theMenu;
  THz         saved_zone;
  Str255      fmStr, item1, item2;

  fm = FreeMem() / 1024;
  NumToString(fm, &fmStr);
  menuTitle = strcat( PtoCstr( (char *) &fmStr), “K”);
  theMenu = NewMenu(d->dCtlMenu, CtoPstr(menuTitle));
 /* Add menu to the menu list */
  InsertMenu(theMenu, 0);
 /* Save the current zone */
  saved_zone = GetZone();

 /* Setup the first menu item */
  strcpy((char *) &item1, “(Application Heap: “);
  SetZone( ApplicZone() );
  fm = FreeMem();
  NumToString(fm, &fmStr);
  AppendMenu(theMenu,CtoPstr(strcat((char *) 
  &item1, PtoCstr((char *) &fmStr))));

 /* Setup the second menu item */
  strcpy((char *) item2, “(System Heap: “);
  SetZone( SystemZone() );
  fm = FreeMem();
  NumToString(fm, &fmStr);
  AppendMenu(theMenu,CtoPstr(strcat((char *) 
  &item2, PtoCstr((char *) &fmStr))));

 /* Set up remaining menu items */
  AppendMenu(theMenu, “\P(-” );
  AppendMenu(theMenu, “\PCompact Memory” );

  SetZone(saved_zone);
  DrawMenuBar();
};

/*************************************************
 update_theMenu
*  Delete the DRiVeRs current menu and create a 
*  new one if the amount of free
*  memory has changed since the last call or we 
*  don’t have a menu in the
*  current menu bar.
*************************************************/
 
update_theMenu(d)
DCtlPtr d;
{
  Boolean     not_installed;
  LongInt     fm;
  MenuHandle  theMenu;

  not_installed = ( (theMenu = 
    GetMHandle( d->dCtlMenu ) ) == NULL );
  fm = FreeMem() / 1024;
  if ( not_installed || (free_memory != fm) ) {
    free_memory = fm;
    if ( theMenu ) {
      DeleteMenu(d->dCtlMenu);
      DisposeMenu(theMenu);
    }
    setup_theMenu(d);
  }
  return(noErr);
};

/*************************************************
 ControlDRVR
*  This routine will be called periodically to 
*  update the menu and to handle
*  the case when our one menu item is chosen.
*************************************************/
 
ControlDRVR(d, p)
DCtlPtr d;
cntrlParam *p;
{
  Integer theErr;
  Size    grow, lcf_block; /* largest contiguous free block */

  switch (p->csCode) {
    case accMenu:  
      lcf_block = MaxMem(&grow);
      theErr = update_theMenu(d);
    break;

    case accRun: /* periodicEvent */
      theErr = update_theMenu(d);
    break;

    case goodBye:
       theErr = CloseDRVR(d, p);
    break;

    default:
      theErr = noErr;
    break;
    }

    return(theErr);
};

/*************************************************
 CloseDRVR
*  Whenever we get a close request, we’ll always 
*  return an error so we won’t be
*  closed (This method will not work on 64K 
*  ROMs).
*  NOTE:  The first time we get a goodbye kiss 
*  will be after all INITS have
*  executed.  The Menu Manager has not been 
*  initialized at this time so no
*  calls can be made yet (We don’t have a menu at 
*  this point anyway).
*************************************************/
CloseDRVR(d, p)
DCtlPtr     d;
cntrlParam *p;
{
  MenuHandle  theMenu;

  if ( !first_close ) {
    if (theMenu = GetMHandle(d->dCtlMenu)) {
      DeleteMenu(d->dCtlMenu);
      DisposeMenu(theMenu);
    }
  }
  first_close = FALSE;
  return(closeErr);
};

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Fresh From the Land Down Under – The Tou...
After a two week hiatus, we are back with another episode of The TouchArcade Show. Eli is fresh off his trip to Australia, which according to him is very similar to America but more upside down. Also kangaroos all over. Other topics this week... | Read more »
TouchArcade Game of the Week: ‘Dungeon T...
I’m a little conflicted on this week’s pick. Pretty much everyone knows the legend of Dungeon Raid, the match-3 RPG hybrid that took the world by storm way back in 2011. Everyone at the time was obsessed with it, but for whatever reason the... | Read more »
SwitchArcade Round-Up: Reviews Featuring...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for July 19th, 2024. In today’s article, we finish up the week with the unusual appearance of a review. I’ve spent my time with Hot Lap Racing, and I’m ready to give my verdict. After... | Read more »
Draknek Interview: Alan Hazelden on Thin...
Ever since I played my first release from Draknek & Friends years ago, I knew I wanted to sit down with Alan Hazelden and chat about the team, puzzle games, and much more. | Read more »
The Latest ‘Marvel Snap’ OTA Update Buff...
I don’t know about all of you, my fellow Marvel Snap (Free) players, but these days when I see a balance update I find myself clenching my… teeth and bracing for the impact to my decks. They’ve been pretty spicy of late, after all. How will the... | Read more »
‘Honkai Star Rail’ Version 2.4 “Finest D...
HoYoverse just announced the Honkai Star Rail (Free) version 2.4 “Finest Duel Under the Pristine Blue" update alongside a surprising collaboration. Honkai Star Rail 2.4 follows the 2.3 “Farewell, Penacony" update. Read about that here. | Read more »
‘Vampire Survivors+’ on Apple Arcade Wil...
Earlier this month, Apple revealed that poncle’s excellent Vampire Survivors+ () would be heading to Apple Arcade as a new App Store Great. I reached out to poncle to check in on the DLC for Vampire Survivors+ because only the first two DLCs were... | Read more »
Homerun Clash 2: Legends Derby opens for...
Since launching in 2018, Homerun Clash has performed admirably for HAEGIN, racking up 12 million players all eager to prove they could be the next baseball champions. Well, the title will soon be up for grabs again, as Homerun Clash 2: Legends... | Read more »
‘Neverness to Everness’ Is a Free To Pla...
Perfect World Games and Hotta Studio (Tower of Fantasy) announced a new free to play open world RPG in the form of Neverness to Everness a few days ago (via Gematsu). Neverness to Everness has an urban setting, and the two reveal trailers for it... | Read more »
Meditative Puzzler ‘Ouros’ Coming to iOS...
Ouros is a mediative puzzle game from developer Michael Kamm that launched on PC just a couple of months back, and today it has been revealed that the title is now heading to iOS and Android devices next month. Which is good news I say because this... | Read more »

Price Scanner via MacPrices.net

Amazon is still selling 16-inch MacBook Pros...
Prime Day in July is over, but Amazon is still selling 16-inch Apple MacBook Pros for $500-$600 off MSRP. Shipping is free. These are the lowest prices available this weekend for new 16″ Apple... Read more
Walmart continues to sell clearance 13-inch M...
Walmart continues to offer clearance, but new, Apple 13″ M1 MacBook Airs (8GB RAM, 256GB SSD) online for $699, $300 off original MSRP, in Space Gray, Silver, and Gold colors. These are new MacBooks... Read more
Apple is offering steep discounts, up to $600...
Apple has standard-configuration 16″ M3 Max MacBook Pros available, Certified Refurbished, starting at $2969 and ranging up to $600 off MSRP. Each model features a new outer case, shipping is free,... Read more
Save up to $480 with these 14-inch M3 Pro/M3...
Apple has 14″ M3 Pro and M3 Max MacBook Pros in stock today and available, Certified Refurbished, starting at $1699 and ranging up to $480 off MSRP. Each model features a new outer case, shipping is... Read more
Amazon has clearance 9th-generation WiFi iPad...
Amazon has Apple’s 9th generation 10.2″ WiFi iPads on sale for $80-$100 off MSRP, starting only $249. Their prices are the lowest available for new iPads anywhere: – 10″ 64GB WiFi iPad (Space Gray or... Read more
Apple is offering a $50 discount on 2nd-gener...
Apple has Certified Refurbished White and Midnight HomePods available for $249, Certified Refurbished. That’s $50 off MSRP and the lowest price currently available for a full-size Apple HomePod today... Read more
The latest MacBook Pro sale at Amazon: 16-inc...
Amazon is offering instant discounts on 16″ M3 Pro and 16″ M3 Max MacBook Pros ranging up to $400 off MSRP as part of their early July 4th sale. Shipping is free. These are the lowest prices... Read more
14-inch M3 Pro MacBook Pros with 36GB of RAM...
B&H Photo has 14″ M3 Pro MacBook Pros with 36GB of RAM and 512GB or 1TB SSDs in stock today and on sale for $200 off Apple’s MSRP, each including free 1-2 day shipping: – 14″ M3 Pro MacBook Pro (... Read more
14-inch M3 MacBook Pros with 16GB of RAM on s...
B&H Photo has 14″ M3 MacBook Pros with 16GB of RAM and 512GB or 1TB SSDs in stock today and on sale for $150-$200 off Apple’s MSRP, each including free 1-2 day shipping: – 14″ M3 MacBook Pro (... Read more
Amazon is offering $170-$200 discounts on new...
Amazon is offering a $170-$200 discount on every configuration and color of Apple’s M3-powered 15″ MacBook Airs. Prices start at $1129 for models with 8GB of RAM and 256GB of storage: – 15″ M3... Read more

Jobs Board

*Apple* Systems Engineer - Chenega Corporati...
…LLC,** a **Chenega Professional Services** ' company, is looking for a ** Apple Systems Engineer** to support the Information Technology Operations and Maintenance Read more
Solutions Engineer - *Apple* - SHI (United...
**Job Summary** An Apple Solution Engineer's primary role is tosupport SHI customers in their efforts to select, deploy, and manage Apple operating systems and Read more
*Apple* / Mac Administrator - JAMF Pro - Ame...
Amentum is seeking an ** Apple / Mac Administrator - JAMF Pro** to provide support with the Apple Ecosystem to include hardware and software to join our team and Read more
Operations Associate - *Apple* Blossom Mall...
Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.