Search found 13 matches

by shram86
Tue Mar 16, 2021 2:04 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

Awesome job - I haven't had a chance to test it on hardware yet, but in my own experiments I found some things that might be worth looking into: First, I think I found out why vsync interrupt isn't used, but I could be doing something wrong. When printing text it seems fine, but when hooking in a fu...
by shram86
Sat Mar 13, 2021 1:50 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

Nothing as such to deal with text attributes... You can tell I am lazy, because I stack them in an array and let the user worry about not effing up. It looks pretty good to me to be honest - I don't think the different modes are really meant to be mixed that much, if that is any consolation. A few t...
by shram86
Wed Mar 10, 2021 3:26 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

Yup, that was it, I just had to track where it was being overwritten. I then fell into the trap where the attributes are actually 80 column based. We now have colour and 40 column mode working 40 column colour Though obviously it's not as useful as on other targets as a result of the line based nat...
by shram86
Wed Mar 10, 2021 2:27 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

Text color mode is actually off on boot, could that be it? Try clearing bit 1 of io port 30h... Unintuitively, setting bit 1 is B&W mode.
by shram86
Tue Mar 09, 2021 1:06 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

That's the exact same vector as is used in z88dk - https://github.com/z88dk/z88dk/blob/mas ... 1_init.asm - and for it fires multiple times: I've had interrupt based music playing. The key difference looks like the treatment of your VBlank() function - I think you may need to annotate the function ...
by shram86
Mon Mar 08, 2021 9:25 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

So, here's a vertical blank interrupt project that works (see below for wonkyness): #include "pc88-c.h" void Vblank(); void SetVBLIRQ(); void SetVBLIRQ() { __asm ld hl, #_Vblank ld (0xf302),hl __endasm; SetIOReg(0xe4, 2); SetIOReg(0xe6, 0b10); } void Vblank() { IRQ_OFF SetVBLIRQ(); print(&...
by shram86
Mon Mar 08, 2021 4:16 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

Sorry it took me so long to respond, I kept hitting the sign-in timeout and my post kept getting erased! In terms of tooling I think we're okay, it's literally a case of "zcc +pc88 -subtype=disk -create-app [files]" and a bootable disc pops out at the end - it's not been tested on real har...
by shram86
Mon Mar 08, 2021 10:38 am
Forum: Misc
Topic: Blocked from Japanese targets forum
Replies: 3
Views: 2960

Re: Blocked from Japanese targets forum

Thanks! XD
by shram86
Mon Mar 08, 2021 9:56 am
Forum: Misc
Topic: Blocked from Japanese targets forum
Replies: 3
Views: 2960

Blocked from Japanese targets forum

Hi guys,

I just tried to type up a pretty long post in the PC88 topic, but when I hit preview, it said I don't have permission to post and now it looks like I'm blocked from posting in that forum.

Not sure what went wrong! Help! :)
by shram86
Mon Mar 08, 2021 1:59 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: PC-8801 serial port?
Replies: 2
Views: 4320

Re: PC-8801 serial port?

I forgot to mention one thing of note that is particularly not well documented is that the OPEN COM command in N88-BASIC uses the same parameters as terminal / TERM, where: TERM "[COM:][<PARITY>[<BIT>[<STOPBIT>[<XON_SW>[<S_PARAM>]]]]]",[,[<MODE>][,<MEM_SIZE>]] and: PARITY (E, O, N) : Even,...
by shram86
Mon Mar 08, 2021 1:49 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: PC-8801 serial port?
Replies: 2
Views: 4320

Re: PC-8801 serial port?

The official manuals are pretty detailed in this regard, I'm pretty sure I've seen them scanned on archive.org. Also, Cisc distributes the source for Xdisk2 along with the app, which has everything laid pretty bare. http://retropc.net/cisc/m88/dl/ For information on accessing the serial port in Wind...
by shram86
Mon Mar 08, 2021 1:01 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

Re: [PC-8801] New C chain, possible integration?

I forgot to mention, I tested all my examples on my own hardware (PC8801-mkII-FR) and I'm more than willing to do hardware tests for z88dk.
by shram86
Sun Mar 07, 2021 11:28 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: [PC-8801] New C chain, possible integration?
Replies: 18
Views: 14170

[PC-8801] New C chain, possible integration?

Hi, I sent this to the mailing list but the official forums is probably a better place. To recap: I checked out z88dk a while ago (3-4 months) and decided since it wasn't super fleshed out that I would just start my own. (I didn't delve in too deeply, and I'm not super familiar with z88dk as a whole...