Enterprise Forever

:UK => Enterprise DevCompo => Enterprise DevCompo #2 => Topic started by: geco on 2017.April.08. 21:28:22

Title: Tube 256byte
Post by: geco on 2017.April.08. 21:28:22
A small 256 byte Tube demo (https://enterpriseforever.com/letoltesek-downloads/enterprise-software/?action=dlattach;attach=17731), I wanted to add vertical movement also for the tube, but i did not have enough space, better programmers I am sure could add it also. It does not run on EP64.
[attach=1]
Title: Re: Tube 256byte
Post by: SlashNet on 2017.April.09. 11:27:38
https://youtu.be/DRzmDa6ppik

Maybe, better create animated GIF? :)



New version: https://youtu.be/TH3xfamV-Ws
Title: Re: Tube 256byte
Post by: geco on 2017.April.09. 11:56:31
https://youtu.be/DRzmDa6ppik

Maybe, better create animated GIF? :)
probably yes :-D
Title: Re: Tube 256byte
Post by: geco on 2017.April.09. 18:08:20
Vertical movement added, one mistake corrected, the link below contains the updated version.
Title: Re: Tube 256byte
Post by: Sdw on 2017.April.25. 23:26:32
Nice sizecoding effect!

I looked a bit in this source (and your other 256 byte intro) and found some really neat stuff for setting up the LPT!
I guess 0xBFF4 points to an address where the system LPT can be found, and then 0x1c0 bytes into that you get the whole, X lines of lower border, sync stuff, Y lines of upper border, right?
I think I'll need to steal that for some stuff I am working on! ;)

Title: Re: Tube 256byte
Post by: geco on 2017.April.26. 09:14:54
Nice sizecoding effect!

I looked a bit in this source (and your other 256 byte intro) and found some really neat stuff for setting up the LPT!
I guess 0xBFF4 points to an address where the system LPT can be found, and then 0x1c0 bytes into that you get the whole, X lines of lower border, sync stuff, Y lines of upper border, right?
I think I'll need to steal that for some stuff I am working on! ;)
Please steal it ;) Yes, 0bff4h is the system LPT pointer, and added by 01c0h is the place of VSYNC part of LPT.
And yes :) lower border:
Code: [Select]
        ld      hl,(0bff4h)
        ld      bc,28*10h
        add     hl,bc
        ld      a,(hl)
        sub     4fh
        ld      (hl),a
Upper border:
Code: [Select]
        ld      a,0deh-4fh
        ld      (lptaddr+94*10h+50h),a