Search found 171 matches

by tschak909
Tue Oct 10, 2023 3:26 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: assembler-only projects and appmake?
Replies: 1
Views: 1654

assembler-only projects and appmake?

Is it possible to do assembler only projects and still leverage e.g. the appmake infrastructure?
-Thom
by tschak909
Sun Oct 01, 2023 10:47 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: new adam subtype for EOS format disk/tape?
Replies: 5
Views: 1701

Re: new adam subtype for EOS format disk/tape?

How can I inject my own boot loader?
-Thom
by tschak909
Sun Oct 01, 2023 10:45 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Basically, from 0x7000 to 0x7020 is not used. 0x7020 to 0x702A is hard-coded to be used by the sound routines, and 73B9 is noted as the top of the stack, with locations below it being reserved for various OS7 pointers.
detailed.png
by tschak909
Thu Sep 28, 2023 10:25 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

I wound up doing this in rom.asm IF !DEFINED_CRT_ORG_BSS defc CRT_ORG_BSS = 0x7000 ENDIF
by tschak909
Thu Sep 28, 2023 10:23 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

I need to be able to set the BSS to avoid the sound and controller areas, and this is flubbing: zcc +coleco -m -s -pragma-define:CRT_ENABLE_STDIO=0 -pragma-define:REGISTER_SP=0x73B8 -pragma-define:CLIB_FOPEN_MAX=0 -pragma-define:fputc_cons=0 -pragma-define:CLIB_DEFAULT_SCREEN_MODE=-1 -pragma-define:...
by tschak909
Thu Sep 28, 2023 1:27 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

@dom can we do user-set sizes for those areas?
-Thom
by tschak909
Sun Sep 24, 2023 6:59 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

@dom - looks like the WORK buffer can use anywhere from 8 (for transforming a single generator) to 203 bytes (for transforming an entire mobile object in Mode 2). the sprite table entries can be up to 32 bytes each. (I am still rev-enging OS7, but I might as well get those questions answered.) -Thom
by tschak909
Sat Sep 23, 2023 3:30 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Been a while, but I've been hard at work tearing OS7 (and Donkey Kong apart), am still in the middle of it, but: Ghidra. Is. Awesome. It has opened up the code for OS7 and helped me connect all the dots, so I can e.g. understand what all uses the four buffer pointers at the top of the cartridge. e.g...
by tschak909
Thu Sep 21, 2023 9:46 pm
Forum: Project Activity
Topic: Fixed point maths
Replies: 1
Views: 1849

Re: Fixed point maths

Thank you, seriously.
by tschak909
Mon Sep 18, 2023 1:34 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Yup, ironically, the IM handlers aren't needed because OS7 handles that, just need to set addresses in the header...
by tschak909
Mon Sep 18, 2023 3:40 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Why, is this program: #include <os7.h> void main(void) { } generating 427 bytes of BSS right off the bat? total 44 drwxr-xr-x 1 thomc thomc 6 Sep 17 22:38 build -rwxr-xr-x 1 thomc thomc 785 Sep 17 22:37 Makefile drwxr-xr-x 1 thomc thomc 22 Sep 17 22:38 src -rw-r--r-- 1 thomc thomc 427 Sep 17 22:38 w...
by tschak909
Mon Sep 18, 2023 2:02 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Still trying to grind through os7lib. Mobile objects seem to be tripping me up, and am not sure how much of this is conflicting with os7lib, versus z88dk, etc. but, I'll try to disclose as much info as I can here: Current test rom for mobile objects, supposed to draw pac-man across screen: https://g...
by tschak909
Mon Sep 18, 2023 12:22 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: can cursor always be on in mode 0?
Replies: 1
Views: 1368

can cursor always be on in mode 0?

Am writing a better FujiNet terminal program for Adam, and am wondering if I just need to handle all the screen updates myself, or if there is a way to always have a cursor be drawn to vram (not just on input?)

-Thom
by tschak909
Mon Sep 18, 2023 12:13 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: add_raster_int() note on wiki needs revision, it works on adam too.
Replies: 1
Views: 1221

add_raster_int() note on wiki needs revision, it works on adam too.

add_raster_int() needs revision, because it does indeed work on the Adam too. I use it to call the EOS sound manager on the vertical blank NMI.

-Thom
by tschak909
Sun Sep 17, 2023 3:32 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: new adam subtype for EOS format disk/tape?
Replies: 5
Views: 1701

Re: new adam subtype for EOS format disk/tape?

Today am doing an exploration to see if I can get a Z88DK binary to boot from the EOS filesystem.
-Thom
by tschak909
Sat Sep 16, 2023 7:21 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Indeed. I'm one of the few people outside of Apple who actually wrote a Lisa Office application (a simple to-do list program) using the Programmer's Workshop, the Clascal compiler, and the Lisa Office Toolkit libraries (which were hard to source together back THEN, but just as hard now, oddly enough...
by tschak909
Fri Sep 15, 2023 10:10 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

@dom Oh no, this was definitely my fault. :) I'm trying to figure out enough so I can give reasonable answers to help. The current binding on github is REALLY close, and right now, i'm just writing tests and figuring out how the pieces work (and in the process figure out how much RAM is used for the...
by tschak909
Fri Sep 15, 2023 12:15 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Am currently documenting my adventures through OS7 at AtariAge: The latest post to the Exploring #ColecoVision OS7 thread is up. I am currently figuring out how MOBILE OBJECTS work. These use the pattern table like SEMI-MOBILE objects, but can be placed in single pixel increments. #gamedev #retrogam...
by tschak909
Thu Sep 14, 2023 4:25 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

man, somebody at COLECO worked _REALLY_ hard on this graphics package. They genuinely tried to cover all the bases they could think of.
by tschak909
Wed Sep 13, 2023 6:03 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Slowly figuring out how it works... https://youtu.be/c3qpWArf_vk struct _targGraphics { unsigned char obj_type; unsigned char first_gen_name; unsigned char numgen; void *generators; Frame *frame[8]; }; struct _targFrame { unsigned char x_extent; unsigned char y_extent; unsigned char generator_0; uns...
by tschak909
Wed Sep 13, 2023 1:36 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

PUTOBJ seems to be the big user of the work area:
put_object.png
by tschak909
Wed Sep 13, 2023 1:26 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

So far, I've seen that ACTIVATE uses the work buffer:
activate.png
-Thom
by tschak909
Wed Sep 13, 2023 1:09 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

The OS7 absolute listings have this to say:
os7-top.png
-Thom
by tschak909
Tue Sep 12, 2023 10:25 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [coleco] add pragmas for OS7 features?
Replies: 28
Views: 5666

Re: [coleco] add pragmas for OS7 features?

Am currently thumbing through THIS manual, section 10: https://drive.google.com/file/d/14mnwjqtX1bsj2D4WPp-5fCAFRxG-fLdn/view?usp=sharing and it literally looks like the answer is "variable" to try and figure this out I scribbled down the values of every single cart that Coleco released, a...