Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1734

Re: Karateka

From TheJ <thej@shaw.ca>
Newsgroups comp.sys.apple2.programmer
Subject Re: Karateka
Date 2015-06-25 17:18 +0000
Organization Mac GUI
Message-ID <thej-1435252800@macgui.com> (permalink)
References <14719ce7-c6a5-4dd0-8c3f-1711a652f769@googlegroups.com> <1c35cbcd-5955-463a-a018-b354e0c63a79@googlegroups.com>

Show all headers | View raw


I have recently started a project to convert GraForth to ProDOS so any
information on how to approach this is of interest. I consider myself a
hobbyist but I do have an(very dated) electronics background. I do have some
experience with 6502 ASM , assemblers and the Apple Monitor. I am totally
over my head but that's kind of what makes it fun :-)
My goal is to have a modular and interactive dev environment (GraForth) that
I can use for my own purposes (whatever that ends up being) while adding
large disk support (via ProDOS)and support for various cards (Mockingboard,
RamWorks, Uthernet, NoSlotCLock, Mouse and others)
GraForth does not have copy protection so that isn't a concern.

I'm actively learning about just about aspect required to do this project;
DOS, ProDOS, Forth, tools, etc. The most difficult aspect for me right now
is how to trace the code to find DOS and replace it with ProDOS. What tools
to use and how to best use them.

I do have real hardware and it would be interested in knowing how to trace
code execution/booting. I'm also using Virtual II emulator but could use
AppleWin is need be.

I'm finding there are so many places to start from that I'm jumping around
quite a bit and not getting very far. A coherent "process" would be very
handy :-)

So YES !! I would love to see what you do in detail!
I thank you in advance for your time and effort !!

Jason

qkumba wrote:
>> I would be really interested in how you do your conversion process.
>> Any chance of a guide or tutorial?
> 
> A tutorial will be very specific to the software that is being converted.
> See for example:
> 
> Creating the 1-side file-based version of Conan on the Apple II
> (http://pferrie.host22.com/misc/lowlevel16.htm)
> Creating the 16-sector version of ToyShop on the Apple II
> (http://pferrie.host22.com/misc/lowlevel15.htm)
> Creating the 16-sector version of Prince of Persia on the Apple II
> (http://pferrie.host22.com/misc/lowlevel14.htm)
> 
> The Karateka conversion was not particularly interesting, because Mr.
> Mechner's coding style made it easy.  Specifically, there were only two
> entrypoints that I had to intercept - load intro, and load level.  Both of
> those simply load the requested file ("karateka.a" or
> "karateka.[number]").
> The rest was just a matter of extracting the data.  That process can be
> quite involved initially, if you're on real hardware (boot-trace until the
> RTS is reached, and then hook into it), and then repetitive - trap the
> data
> that were just read, move them to a safe memory space, reboot, save them
> to
> a file.
> If you're using an emulator like MAME, you can simply save the data
> directly to a file.  For AppleWin, it seems that you have to save the
> state
> and then extract the contents.
> 
> Of course, you can let me know if that entire process sounds interesting
> to
> you to be described in detail, and I can do that.
>


Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-24 23:09 -0700
  Re: Karateka mverpelli@libero.it - 2015-06-25 02:39 -0700
    Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-25 08:11 -0700
      Re: Karateka TheJ <thej@shaw.ca> - 2015-06-25 15:27 +0000
        Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-25 08:53 -0700
          Re: Karateka TheJ <thej@shaw.ca> - 2015-06-25 17:18 +0000
            Re: Karateka mverpelli@libero.it - 2015-06-25 10:45 -0700
              Re: Karateka TheJ <thej@shaw.ca> - 2015-06-25 18:04 +0000
            Re: Karateka Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-02-22 15:50 -0800
      Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-25 11:12 -0700
        Re: Karateka mverpelli@libero.it - 2015-06-25 23:46 -0700
          Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-26 09:05 -0700
      Re: Karateka Alex Lee <email@domain.com> - 2015-06-27 20:46 +1000
        Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-27 12:13 -0700
          Re: Karateka Alex Lee <email@domain.com> - 2015-06-28 19:55 +1000
            Re: Karateka qkumba <peter.ferrie@gmail.com> - 2015-06-28 13:56 -0700
              Re: Karateka Alex Lee <email@domain.com> - 2015-06-29 23:00 +1000
        Re: Karateka Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-02-21 07:42 -0800
          Re: Karateka qkumba <peter.ferrie@gmail.com> - 2017-02-21 08:28 -0800
            Re: Karateka BLuRry <brendan.robert@gmail.com> - 2017-02-21 10:36 -0800
              Re: Karateka qkumba <peter.ferrie@gmail.com> - 2017-02-21 16:27 -0800
                Re: Karateka Zellyn <zellyn@gmail.com> - 2017-02-21 18:45 -0800
                Re: Karateka qkumba <peter.ferrie@gmail.com> - 2017-02-21 23:20 -0800
                Re: Karateka Zellyn <zellyn@gmail.com> - 2017-02-22 05:22 -0800
                Re: Karateka BLuRry <brendan.robert@gmail.com> - 2017-02-21 21:37 -0800
                Re: Karateka qkumba <peter.ferrie@gmail.com> - 2017-02-21 23:00 -0800
                Re: Karateka Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-02-22 15:41 -0800
                Re: Karateka qkumba <peter.ferrie@gmail.com> - 2017-02-22 21:28 -0800
                Re: Karateka Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-02-23 20:23 -0800

csiph-web