Skiing Penguin Mac OS

  • © Valve Corporation. All rights reserved. All trademarks are property of their respective owners in the US and other countries. Privacy Policy Legal Steam.
  • The worse part is doesnt even work properly without the software, slow track, have to extend the wrist to move it to the screen at max scrolling speed AND the OS forgets the assigned speed once you close the tab. Honestly, is my mistake, didn´t read but magic about the brand and went without asking about mac compatibility (and there is a very.
  • Get more done with the new Google Chrome. A more simple, secure, and faster web browser than ever, with Google’s smarts built-in.

The next step in my playing with chroot escapes is crafting some shellcode. Recently my main dev machine is a MacBook running OS X, so it felt reasonable to fiddle with making system calls of that platform.

By the way, a system call is a function of the kernel invoked by a userspace program and it can be something like writing to a file descriptor, or even exiting. Usually, these are wrapped by C functions in the standard library.

The system calls

First, we need to know what system call we want to make, and what arguments it pretends.

Penguins Arena is a thrilling and innovative First Penguin Shooter with very short rounds and where the magic of reincarnation, combined with the supernatural ability to return to the game as a ghost, ensures that your character has every chance to change your tribe's fate. System requirements: Windows Vista / OS X 10.10.

Mac

A full list is hosted by Apple here. The header also hints at the fact that they are inherited from BSD. Yeah, that makes sense.

So, to write our proverbial Hello world we will pick the syscall 4

32-bit

Let’s start easy. A cute 32-bit program, written in NASM assembler language. Compile with nasm or yasm, output format MachO, and link with ld.

I’m on a Intel machine, so what we are looking for is the x86 syscall calling conventions for the OS X or BSD platform. They are pretty simple:

  • arguments passed on the stack, pushed right-to-left
  • stack 16-bytes aligned
  • syscall number in the eax register
  • call by interrupt 0x80

So what we have to do to print a “Hello world” is:

  • push the length of the string (int) to the stack
  • push a pointer to the string to the stack
  • push the stdout file descriptor (1) to the stack
  • align the stack by moving the stack pointer 4 more bytes (16 - 4 * 3)
  • set the eax register to the write syscall number (4)
  • interrupt 0x80

64-bit

64-bit is a bit cleaner, but completely different: OS X (and GNU/Linux and everyone except Windows) on 64 architectures adopt the System V AMD64 ABI reference. Jump to section A.2.1 for the syscall calling convention.

  • arguments are passed on the registers rdi, rsi, rdx, r10, r8 and r9
  • syscall number in the rax register
  • the call is done via the syscall instruction
  • what OS X contributes to the mix is that you have to add 0x20000000 to the syscall number (still have to figure out why)

So, here is the (IMHO) much more clean 64-bit “Hello world”. Ah, if you want to do this at home and have it actually run, generate a macho64 object with a new version of NASM or with YASM, and link with ld as usual.

This page is a wiki. Please login or create an account to begin editing.
Rating:
Category:
Perspective:
Year released:
Author:David Cook
Tom Zehner
Publisher:Storm Impact
XOR Corporation
Engine:
[www].se [ftp].se [mirror].us [mirror].de
MacSki.sit (879.97 KB)
MD5: 20d99e935e5f598a93a64dcab496b624
For System 6.x - Mac OS 9
[www].se [ftp].se [mirror].us [mirror].de
mac_ski_1_0.zip (6.36 MB)
MD5: 7b19eb31d08bbd070a2e3e864f93507d
For System 6.x - Mac OS 9
[www].se [ftp].se [mirror].us [mirror].de
MacSki_user_slopes.sit (71.17 KB)
MD5: 337b6ce0eb5ca6088d1ac5f3b897a95c
For System 6.x - Mac OS 9
Purchase
This game is still available from its publisher
[www].se [ftp].se [mirror].us [mirror].de
macskimanual.pdf
Emulation
This game works with: SheepShaver, Basilisk II, Mini vMac

'Grab your skis and get ready to race! Select a course from a number of challenging runs or design your own dream course using the built-in Course Editor.

Change the weather and snow conditions—set the level of difficulty to the point where you feel challenged.

Watch out for obstacles! MacSki includes Snowmen & Penguins, Igloos, & Snow Bunnies, and much more! Digitized sounds and color graphics put you in the middle of the action.' --Description from the box.

Skiing Penguin Mac Os 11

Compatibility

Skiing Penguin Mac Os Download


Architecture: 68k PPC

Requires Mac Plus or later and 1MB RAM or more.