Search found 1474 matches

by zephyr
Sat Sep 20, 2014 11:17 am
Forum: Hints and Tips
Topic: Mixing two different graphic modes
Replies: 52
Views: 37744

Re: Mixing two different graphic modes

You could try reading the keyboard via a sub which avoids calling the keyboard routine when the flag is set. This method should (in theory) prevent the flickering under real hardware.

Code: Select all

INKEY  LDA $FF03
       BPL ROMKEY
       CLRA
       RTS
ROMKEY JMP $BBE5
by zephyr
Sat Sep 20, 2014 9:23 am
Forum: Hints and Tips
Topic: Mixing two different graphic modes
Replies: 52
Views: 37744

Re: Mixing two different graphic modes

pser1 wrote: The ml program will be inquirig keyboard internally via [$8006], I hope that this will not afffect the IRQ-handler.
I think the only way to avoid flicker is to call the keyboard routine from the ISR.
by zephyr
Fri Sep 19, 2014 11:40 pm
Forum: Hints and Tips
Topic: Mixing two different graphic modes
Replies: 52
Views: 37744

Re: Mixing two different graphic modes

pser1 wrote:don't know if it could be solved in any way
You could call the keyboard routine from your ISR. Try the attached updated demo (Encoder 09 source) code.

Load ZIRQ2, then test with the following BASIC example code.

Code: Select all

10 PMODE3,1:PCLS
20 POKE255,ASC("S"):EXEC
30 CIRCLE(128,96),90,2
40 GOTO 20
by zephyr
Fri Sep 19, 2014 6:17 pm
Forum: Hints and Tips
Topic: Mixing two different graphic modes
Replies: 52
Views: 37744

Re: Mixing two different graphic modes

Code: Select all

CHGVEC   STX      $010D         * set IRQ dispatch routine
         ANDCC    #$AF          * enable IRQ/FIRQ interrupts
         RTS                    * return to caller
Returning control to BASIC will restore the default text mode. Try the attached demo (Encoder 09 source) code.
by zephyr
Fri Sep 19, 2014 12:14 am
Forum: Hints and Tips
Topic: Mixing two different graphic modes
Replies: 52
Views: 37744

Re: Mixing two different graphic modes

Hello, I know that a few of you have got to show in the screen a part in a PMODE and the rest in another resolution ... I am interested in having the upper 3/4 of the screen devoted to PMODE3 or maybe SG24 (144 pixels high) and the rest (48 pixels high) for PMODE4 To make things easier, this propor...
by zephyr
Sun Sep 14, 2014 12:11 am
Forum: Uploads
Topic: "Pixie!"
Replies: 18
Views: 10802

Re: "Pixie!"

sixxie wrote:oh yes, in case anyone else hits this, you also need to be using the DragonDOS 1.0 ROM to BOOT this!
I have patched the boot code to make it work with all currently available DragonDOS compatible ROMs (excluding DOSPlus 4.8 which fails to boot ANY DragonDOS bootable disk).
by zephyr
Fri Sep 12, 2014 12:16 pm
Forum: Dragon General
Topic: Autoboot file
Replies: 11
Views: 8348

Re: Autoboot file

Version 1.1 boot code is shorter and works with all currently available DragonDOS compatible ROMs (excluding DOSPlus 4.8 which fails to boot ANY DragonDOS bootable disk). 10 ' DRAGONDOS AUTOBOOT V1.1 20 ' BY STEVE EVANS (ZEPHYR) 30 ' 12TH SEPTEMBER, 2014 40 ' 50 FOR I=&H200 TO &H239:READ A$:X=VAL("&...
by zephyr
Mon Sep 08, 2014 11:00 pm
Forum: Dragon General
Topic: Autoboot file
Replies: 11
Views: 8348

Re: Autoboot file

It is possible to do this by writing a small machine code routine (boot code) to a freshly formatted floppy disk. Try the attached program and demo disk. EDIT: Version 1.0 code deleted. To make your own autoboot disks: (1) Load the "DOSABOOT" program from cassette or floppy disk. (2) Insert a floppy...
by zephyr
Sun Sep 07, 2014 11:32 am
Forum: Uploads
Topic: Interrupt driven real-time-clock
Replies: 11
Views: 7464

Re: Interrupt driven real-time-clock

sixxie wrote:You ok with me posting a disassembly?
Is this a reply to jedie or myself? My answer would be yes. :)
by zephyr
Sun Sep 07, 2014 1:05 am
Forum: Uploads
Topic: Interrupt driven real-time-clock
Replies: 11
Views: 7464

Re: Interrupt driven real-time-clock

jedie wrote:Can you post the assembly code from this?

The original source code for this routine has been deleted.