# 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

Previous Page

- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143

Next Page

#### 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]]
Previous Page

- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143

Next Page