Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Forum Games

Press Ctrl+V or Cmd+V or whatever and post - Page 127

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-15 00:45:08
enabled

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-11-25 05:10:37
skipped_source_files = calchase;hng64;mediagx;namcos23;alien;aristmk6;model3;pgm3;3do;cavepc;chihiro;ez2d;gaelcopc;hikaru;konamim2;lindbergh;midqslvr;namcops2;namcos10;naomi;pyson;segasp;taitotx;taitowlf;triforce;tvcapcom;viper;atarittl;exidyttl;ramtek;segattl;taitottl;atvtrack;dkmb;otomedius;shootaway2;24cdjuke;alto1;c64dtv;gamecube;gp2x;lg-dvd;iphone2g;nds;ps2sony;sansa_fuze;segapm;aces1;acesp;astrafr;astropc;atronic;belatra;bfmsys83;bfmsys85;bfm_sc5sw;bgt;ecoinf1;ecoinf2;ecoinf3;ecoinfr;extrema;gamtor;globalfr;maygayep;maygayv1;mmm;mpu5;pluto5;proconn;stellafr;sumt8035;ldplayer;ti85;ti89;amstr_pc

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-25 11:16:06
    ; Poll joypad and update regs

    ld c, LOW(rP1)
    ld a, $20 ; Select D-pad
    ld [$ff00+c], a
REPT 6
    ld a, [$ff00+c]
ENDR
    or $F0 ; Set 4 upper bits (give them consistency)
    ld b, a

    ; Filter impossible D-pad combinations
    and $0C ; Filter only Down and Up
    ld a, b
    jr nz, .notUpAndDown
    or $0C ; If both are pressed, "unpress" them
    ld b, a
.notUpAndDown
    and $03 ; Filter only Left and Right
    jr nz, .notLeftAndRight
    ld a, b
    or $03 ; If both are pressed, "unpress" them
    ld b, a
.notLeftAndRight
    swap b ; Put D-pad buttons in upper nibble

    ld a, $10 ; Select buttons
    ld [$ff00+c], a
REPT 6
    ld a, [$ff00+c]
ENDR
    ; On SsAB held, soft-reset
    and $0F
    jp z, Reset

    or $F0 ; Set 4 upper bits
    xor b ; Mix with D-pad bits, and invert all bits (such that pressed=1) thanks to "or $F0"
    ld b, a

    ldh a, [hHeldButtons]
    cpl
    and b
    ldh [hPressedButtons], a

    ld a, b
    ldh [hHeldButtons], a

    ; Release joypad
    ld a, $30
    ld [$ff00+c], a

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-11-25 18:31:41
:tada::birthday:

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-26 03:57:15
Such as, say, `Awesome Game™ - True Final Boss Extended`

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Sherkel
Date: 2018-11-27 02:12:55

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-27 09:18:37
RGBDS optimises instructions like LD [$FF40],a to LDH [$FF00+40],a, so these are encoded as data bytes using a macro to ensure exact reproduction of the original ROM (thanks to ISSOtm).
RGBDS automatically adds NOP instructions after STOP and HALT, so the disassembler will output these as data bytes if the instruction is not followed by a NOP in the original ROM.

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-11-27 22:13:15
https://twitter.com/SyntaxAero/status/1067508873320222722

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-28 12:37:22
Please do not refer to the GB CPU Manual - this document is bad and outdated. Please instead use the wikified Pan Docs instead.
For a better GB ASM tutorial, check out this more recent tutorial I made.

That's also all that you will find. You can find tutorials to program the Game Boy in C, but that won't help you for Pokémon.


By the way, the tutorial I mentioned last is third on Google when you ask "Game Boy ASM tutorial". If you don't have the skill to use Google, give up GB programming now. You won't grasp it.
You didn't even try.



(Context: I always Ctrl+C before I post)

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-11-28 16:11:18
https://glitchcity.info/wiki/Text_pointer_manipulation_mart_buffer_overflow_glitch

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-11-28 22:07:44
https://anufgc.challonge.com/pov5s4r

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-11-29 00:48:14
https://cdn.discordapp.com/attachments/282544526655094786/517486156733087784/1543448410.png

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-05 11:19:33
LidIxft06ho

(it's an old YouTube video ID string about Ilsty and ?)

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Sherkel
Date: 2018-12-05 11:29:00
Top:
Bottom:
Feet?:
Other:

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-05 11:29:24
#REDIRECT [[Dark red selector glitch]]