Jump to content

palmheads

Members
  • Posts

    216
  • Joined

  • Last visited

Posts posted by palmheads

  1. Am really loving xdt99!

     

    Been using it with the examples in the Lottrup assembly language book.

     

    Every single example I've entered in using vim on my Linux box, have compiled, then Load and Run the object file with mini-memory in classic99 & now js99er has worked!

     

    Attached is a hires draw asm example.

     

    Here is a wee perl script wrapper I've written around xas99.py and xdm99.py to compile an object from an asm file, then add it to a DSK image (1 dir up).

     

    name: xdt.pl

    #!/usr/bin/perl
    
    use strict;
    use warnings;
    use Data::Dumper;
    
    # ./xas99.py -OR sprites.asm
    # ./xdm99.py work.dsk -a sprites.obj -n "SPRITES" -f DIS/FIX80
    
    my $asm = $ARGV[0];
    my $home = `pwd`;
    chomp($home);
    my $path = "$home";
    my $disk = "../work.dsk";
    my ($object) = $asm =~ m@(.*?)\..*@gi;
    if (defined $object) {
        my $compiler = "$path/xas99.py -OR $asm";
        my $objectFile = "$path/$object.obj";
        print "$compiler\n";
        my $retVal = system($compiler);
        if ($retVal == 0) {
            if (-e $objectFile) {
                my $name = uc($object);
                my $createDisk = "$path/xdm99.py $disk -a $objectFile -n \"$name\" -f DIS/FIX80";
                print "$createDisk\n";
                $retVal = system($createDisk);
                if ($retVal == 0) {
                    print "\n$objectFile added to $disk\n";
                } else {
                    print "\ncould not add $objectFile to $disk\n";
                }
            } else {
                print "\n$objectFile not found\n";
            }
        } else {
            print "\n$asm did not compile\n";
        }
    }
    
    

    Usage: put scipt in your ~/bin. Run in dir with your xdt scripts & asm file

    $ xdt.pl hidraw.asm
    

    Really great set of tools!!

     

    cheers

    Daryn

    hidraw.asm

  2. Am really loving xdt99!

     

    Been using it with the examples in the Lottrup assembly language book.

     

    Every single example I've entered in using vim on my Linux box, have compiled, then Load and Run the object file with mini-memory in classic99 & now js99er has worked!

     

    Attached is a hires draw asm example.

     

    Here is a wee perl script wrapper I've written around xas99.py and xdm99.py to compile an object from an asm file, then add it to a DSK image (1 dir up).

     

    name: xdt.pl

    #!/usr/bin/perl
    
    use strict;
    use warnings;
    use Data::Dumper;
    
    # ./xas99.py -OR sprites.asm
    # ./xdm99.py work.dsk -a sprites.obj -n "SPRITES" -f DIS/FIX80
    
    my $asm = $ARGV[0];
    my $home = `pwd`;
    chomp($home);
    my $path = "$home";
    my $disk = "../work.dsk";
    my ($object) = $asm =~ m@(.*?)\..*@gi;
    if (defined $object) {
        my $compiler = "$path/xas99.py -OR $asm";
        my $objectFile = "$path/$object.obj";
        print "$compiler\n";
        my $retVal = system($compiler);
        if ($retVal == 0) {
            if (-e $objectFile) {
                my $name = uc($object);
                my $createDisk = "$path/xdm99.py $disk -a $objectFile -n \"$name\" -f DIS/FIX80";
                print "$createDisk\n";
                $retVal = system($createDisk);
                if ($retVal == 0) {
                    print "\n$objectFile added to $disk\n";
                } else {
                    print "\ncould not add $objectFile to $disk\n";
                }
            } else {
                print "\n$objectFile not found\n";
            }
        } else {
            print "\n$asm did not compile\n";
        }
    }
    
    

    Usage: put scipt in your ~/bin. Run in dir with your xdt scripts & asm file

    $ xdt.pl hidraw.asm
    

    Really great set of tools!!

     

    cheers

    Daryn

    • Like 1
  3.  

    Sure you can. What are you having problems with, the loading of the disk image or the loading of the object file?

     

    If you have Google Drive you can also use that option, this is like the FIAD option in Classic99, see post #145.

     

    Hi Rasmus!

     

    Nevermind, just got it to work! WOO!

     

    I just did this post here explaining what i did using classic99 & mini-memory

    http://atariage.com/forums/topic/234522-using-xdt99-programming-sprites-in-mini-memory-tutorial-from-99ner-mag/

     

    Was able to repeat it just now. It was quite late last night when I tried it on js99er. Must have been too sleepy!

     

    Cheers!

    Daryn

  4. Hi

     

    I had a go using the xdt99 cross assembly under Linux trying out the example bit of code from the April 83 article in the 99ner mag titled "Programming Sprites in Mini Memory - Am assembly language tutorial" by Patricia Swift.

     

    Download the attached "sprites.asm".

     

    Compile into an object file by running this

    $ ./xas99.py -OR sprites.asm
    

    With the resulting "sprites.obj", in classic99 with the mini-memory module loaded, put the "sprites.obj" in a DSK folder, Choose "3. Mini Memory" from the menu, then Load and Run "DSK1.SPRITES.OBJ".

     

    From there, exit out to EasyBug, then choose 'E', then 'E7D5C'

     

    You should see some sprites moving around the screen.

     

    Have attached the assembly code to use.

     

    I really like xdt99, makes it alot easier to try examples!

     

    cheers

    Daryn

     

     

     

     

    sprites.asm

  5. Hi

     

    Have seen a mini-memory game called "Defend the Cities II" advertised/reviewed in the 99ner magazine. Also the author of the game (Jerry Spacek) wrote an article in the same magazine explaining the process he took in converting the original game from XB to assembly & the mini-memory module.

     

    Does anyone have this game? It seems to have completely disappeared! It would be shame, as there were stuff all mini-memory games developed.

     

    cheers

    Daryn

  6. Hi

     

    Am loving this emulator!

     

    Got a question. If I have an assembly language object file I have created, how can I load it into js99'er?

     

    Can I add the object file to a DSK image, and load it from there?

     

    Its something I can do in classic99, but I can't seem to get it to work in js99'er.

     

    cheers

    Daryn

    • Like 1
  7. Great set of tools! Got this small example working using ubuntu.

     

    As an assembly newbie, was able to take a short example of the Lottrup's Assembly Language on the TI book, write to a text file, compile an object file, load up classic99 (using wine) with the minimemory module (to keep it authentic to the book) , then load the object file.

     

    Only thing I needed todo with the assembly (different from the book) was add an 'AORG' at the start with the correct memory location for the mini memory module

        AORG >7D00
        LWPI >70B8
        LI R0,67
        LI R1,PQ
        LI R2,18
        BLWP @>6028
        LI R0,67
        LI R1,BF
        LI R2,18
        BLWP @>6030
        LI R0,330
        LI R1,BF
        LI R2,8
        BLWP @>6028
        B *R11
    PQ  TEXT 'ASSEMBLY LANGUAGE'
    BF  BSS 18
        END
    
    

    Very cool, thanks heaps for the tools!

     

    cheers

    Daryn

  8. Hi

     

    Read some discussions about how hard it was being a TI owner outside of the US.

     

    As a kid I remember reading an NZ computing mag called "Bits & Bytes".Thanks to classic-computers.org.nz, they have been archived as PDF's. Found the issue that reviewed the TI arriving in NZ in Feb 1984!

     

    http://www.classic-computers.org.nz/bits-and-bytes/issue2.5.htm

     

    http://www.classic-computers.org.nz/bits-and-bytes/downloads/NZ-bits-and-bytes-issue-2-5.pdf

     

    It wasn't given a glowing review, but you can see some of the issues the TI had outside of the US. Looks like the only reason why it even appeared in this part of the world was because TI had already discontinued it, so effectively it was a way of trying to get rid of the surpluses. It was still relatively expensive compared to other machines $NZ600 (the Sega SC3000 reviewed in the same mag has almost the same hardware as a TI, but with a Z80 - and actually had quite a big following in NZ - was about $NZ200 cheaper!).

     

    Just being able to review the console by itself would have all the issues everybody knows about (slow etc). Getting extra hardware like PEBs etc would have been expensive & almost impossible. Extra software the same.

     

    Its actually just interesting browsing these old mags. All the memories come flooding back!

     

    cheers

    Daryn

     

     

    • Like 3
  9. Thats good to know Willsy.

     

    OLD CS1 - yeah, maybe a coding challenge thing. Like the good old ZX81 1K games!

     

    Am gonna try using one of the assembly language books (Lottrup) with the linux cross assembler asm900, just see if I can understand the concepts etc

     

    cheers

    Daryn

  10. Hi

     

    Under Linux using asm900

     

    http://www.cozx.com/~dpitts/ti990.html

     

    Does anyone know the "optional TI-99/4A output mode"?

     

    The command line does have a -m param that accepts a range of options, none that looks like a ti-99/4a

     

    $ ./asm990 --help
    asm990 - version 2.2.0
    usage: asm990 [-options] -o file.obj file.asm
    options:
    -a "OP1,OP2" - Assembly options
    -c - Cassette mode
    -g - Generate symbol table in object
    -I includedir - Include directory for COPY
    -l file.lst - Generate listing to file.lst
    -m model - CPU model = 4, 5, 9, 10, 10A, 12
    -o file.obj - Generate object to file.obj
    -t - TXMIRA mode
    -w - Wide listing
    -x - Generate cross reference
    cheers
    Daryn
  11. Hey

     

    With all the cool game development going on, wonder if anyone has thought of writing one for the mini memory module? Was it about 4K?

     

    I know it would be a pain to use the LBLA these days (and Editor/Assembler development easier), but I wonder if it's possible to develop something using assemblers etc on the desktop. Like a mini memory development environment mimicking the LBLA.

     

    Possible?

     

    Cheers

    Daryn

×
×
  • Create New...