-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfession_updated.c
More file actions
3555 lines (3518 loc) · 102 KB
/
confession_updated.c
File metadata and controls
3555 lines (3518 loc) · 102 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#include <string.h>
// GBA Hardware registers
#define REG_DISPCNT *(volatile unsigned short*)0x4000000
#define REG_VCOUNT *(volatile unsigned short*)0x4000006
#define MODE_3 0x0003
#define BG2_ENABLE 0x0400
// Screen dimensions
#define SCREEN_WIDTH 240
#define SCREEN_HEIGHT 160
// Colors (RGB555 format)
#define BLACK 0x0000
#define WHITE 0x7FFF
#define BLUE 0x001F
#define RED 0x7C00
#define GREEN 0x03E0
// Video memory
#define VRAM ((volatile unsigned short*)0x6000000)
// Input registers
#define REG_KEYINPUT *(volatile unsigned short*)0x4000130
#define KEY_A 0x0001
#define KEY_B 0x0002
#define KEY_UP 0x0040
#define KEY_DOWN 0x0080
#define KEY_LEFT 0x0020
#define KEY_RIGHT 0x0010
// VSync function
void wait_vblank() {
while (REG_VCOUNT < 160); // Wait for VBlank start
while (REG_VCOUNT >= 160); // Wait for VBlank end
}
// Simple font data (8x8 pixels per character)
static const unsigned char font_data[256][8] = {
// Space (0x20)
[32] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
// A (0x41)
[65] = {0x18, 0x3C, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00},
[66] = {0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00}, // B
[67] = {0x3C, 0x66, 0x60, 0x60, 0x60, 0x66, 0x3C, 0x00}, // C
[68] = {0x78, 0x6C, 0x66, 0x66, 0x66, 0x6C, 0x78, 0x00}, // D
[69] = {0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x7E, 0x00}, // E
[70] = {0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x60, 0x00}, // F
[71] = {0x3C, 0x66, 0x60, 0x6E, 0x66, 0x66, 0x3C, 0x00}, // G
[72] = {0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00}, // H
[73] = {0x3C, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00}, // I
[74] = {0x1E, 0x0C, 0x0C, 0x0C, 0x0C, 0x6C, 0x38, 0x00}, // J
[75] = {0x66, 0x6C, 0x78, 0x70, 0x78, 0x6C, 0x66, 0x00}, // K
[76] = {0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x7E, 0x00}, // L
[77] = {0x63, 0x77, 0x7F, 0x6B, 0x63, 0x63, 0x63, 0x00}, // M
[78] = {0x66, 0x76, 0x7E, 0x7E, 0x6E, 0x66, 0x66, 0x00}, // N
[79] = {0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00}, // O
[80] = {0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, 0x60, 0x00}, // P
[81] = {0x3C, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x0E, 0x00}, // Q
[82] = {0x7C, 0x66, 0x66, 0x7C, 0x78, 0x6C, 0x66, 0x00}, // R
[83] = {0x3C, 0x66, 0x60, 0x3C, 0x06, 0x66, 0x3C, 0x00}, // S
[84] = {0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00}, // T
[85] = {0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00}, // U
[86] = {0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00}, // V
[87] = {0x63, 0x63, 0x63, 0x6B, 0x7F, 0x77, 0x63, 0x00}, // W
[88] = {0x66, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x66, 0x00}, // X
[89] = {0x66, 0x66, 0x66, 0x3C, 0x18, 0x18, 0x18, 0x00}, // Y
[90] = {0x7E, 0x0E, 0x1C, 0x38, 0x70, 0x7E, 0x7E, 0x00}, // Z
// Add lowercase letters
[97] = {0x00, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00}, // a
[98] = {0x60, 0x60, 0x7C, 0x66, 0x66, 0x66, 0x7C, 0x00}, // b
[99] = {0x00, 0x00, 0x3C, 0x60, 0x60, 0x60, 0x3C, 0x00}, // c
[100] = {0x06, 0x06, 0x3E, 0x66, 0x66, 0x66, 0x3E, 0x00}, // d
[101] = {0x00, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00}, // e
[102] = {0x0E, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x18, 0x00}, // f
[103] = {0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x7C}, // g
[104] = {0x60, 0x60, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00}, // h
[105] = {0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x3C, 0x00}, // i
[106] = {0x06, 0x00, 0x0E, 0x06, 0x06, 0x06, 0x66, 0x3C}, // j
[107] = {0x60, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x00}, // k
[108] = {0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00}, // l
[109] = {0x00, 0x00, 0x66, 0x7F, 0x7F, 0x6B, 0x63, 0x00}, // m
[110] = {0x00, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00}, // n
[111] = {0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00}, // o
[112] = {0x00, 0x00, 0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60}, // p
[113] = {0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x06}, // q
[114] = {0x00, 0x00, 0x7C, 0x66, 0x60, 0x60, 0x60, 0x00}, // r
[115] = {0x00, 0x00, 0x3E, 0x60, 0x3C, 0x06, 0x7C, 0x00}, // s
[116] = {0x18, 0x18, 0x7E, 0x18, 0x18, 0x18, 0x0E, 0x00}, // t
[117] = {0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00}, // u
[118] = {0x00, 0x00, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00}, // v
[119] = {0x00, 0x00, 0x63, 0x6B, 0x7F, 0x3E, 0x36, 0x00}, // w
[120] = {0x00, 0x00, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x00}, // x
[121] = {0x00, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x0C, 0x78}, // y
[122] = {0x00, 0x00, 0x7E, 0x0C, 0x18, 0x30, 0x7E, 0x00}, // z
// Numbers
[48] = {0x3C, 0x66, 0x6E, 0x76, 0x66, 0x66, 0x3C, 0x00}, // 0
[49] = {0x18, 0x18, 0x38, 0x18, 0x18, 0x18, 0x7E, 0x00}, // 1
[50] = {0x3C, 0x66, 0x06, 0x0C, 0x30, 0x60, 0x7E, 0x00}, // 2
[51] = {0x3C, 0x66, 0x06, 0x1C, 0x06, 0x66, 0x3C, 0x00}, // 3
[52] = {0x06, 0x0E, 0x1E, 0x66, 0x7F, 0x06, 0x06, 0x00}, // 4
[53] = {0x7E, 0x60, 0x7C, 0x06, 0x06, 0x66, 0x3C, 0x00}, // 5
[54] = {0x3C, 0x66, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00}, // 6
[55] = {0x7E, 0x66, 0x0C, 0x18, 0x18, 0x18, 0x18, 0x00}, // 7
[56] = {0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00}, // 8
[57] = {0x3C, 0x66, 0x66, 0x3E, 0x06, 0x66, 0x3C, 0x00}, // 9
// Punctuation
[46] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00}, // .
[44] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x30}, // ,
[58] = {0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00}, // :
[59] = {0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x18, 0x30}, // ;
[33] = {0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x18, 0x00}, // !
[63] = {0x3C, 0x66, 0x06, 0x0C, 0x18, 0x00, 0x18, 0x00}, // ?
[40] = {0x0E, 0x18, 0x30, 0x30, 0x30, 0x18, 0x0E, 0x00}, // (
[41] = {0x70, 0x18, 0x0C, 0x0C, 0x0C, 0x18, 0x70, 0x00}, // )
[45] = {0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00}, // -
};
// Text content - Second London Baptist Confession chapters
// Generated Baptist Confession text for GBA
// Each line limited to 27 characters
static const char* confession_text[] = {
"BAPTIST CONFESSION OF FAITH",
"OF 1689",
"",
"CHAPTER 1: OF THE HOLY",
"SCRIPTURES",
"",
"1.",
"The Holy Scripture is the",
"only sufficient, certain,",
"and infallible rule of all",
"saving Knowledge, Faith and",
"Obedience; Although the",
"light of Nature, and the",
"works of Creation and",
"Providence do so far",
"manifest the goodness,",
"wisdom and power of God, as",
"to leave men unexcusable;",
"yet are they not sufficient",
"to give that knowledge of",
"God and His will, which is",
"necessary unto Salvation.",
"Therefore it pleased the",
"Lord at sundry times, and",
"in divers manners, to",
"reveal himself, and to",
"declare that His will unto",
"his Church; and afterward",
"for the better preserving,",
"and propagating of the",
"Truth, and for the more",
"sure Establishment, and",
"Comfort of the Church",
"against the corruption of",
"the flesh, and the malice",
"of Satan, and of the World,",
"to commit the same wholly",
"unto writing; which maketh",
"the Holy Scriptures to be",
"most necessary, those",
"former ways of Gods",
"revealing his will unto his",
"people being now ceased.",
"",
"2.",
"Under the Name of Holy",
"Scripture or the Word of",
"God written; are now",
"contained all the Books of",
"the Old and New Testament",
"which are these,",
"",
"Of the Old Testament.",
"",
"Genesis, Exodus, Leviticus,",
"Numbers, Deuteronomy,",
"Joshua, Judges, Ruth, 1",
"Samuel, 2 Samuel, 1 Kings,",
"2 Kings, 1 Chronicles, 2",
"Chronicles, Ezra, Nehemiah,",
"Esther, Job, Psalms,",
"Proverbs, Ecclesiastes, The",
"Song of Songs, Isaiah,",
"Jeremiah, Lamentations,",
"Ezekiel, Daniel, Hosea,",
"Joel, Amos, Obadiah, Jonah,",
"Micah, Nahum, Habakkuk,",
"Zephaniah, Haggai,",
"Zechariah, Malachi.",
"",
"Of the New Testament.",
"",
"Matthew, Mark, Luke, John,",
"The Acts of the Apostles,",
"Pauls Epistle to the",
"Romans, 1 Corinthians, 2",
"Corinthians, Galatians,",
"Ephesians, Phillippians,",
"Colossians, 1",
"Thessalonians, 2",
"Thessalonians, 1 Timothy, 2",
"Timothy, to Titus, to",
"Philemon, the Epistle to",
"the Hebrews, the Epistle of",
"James, the First and Second",
"Epistles of Peter, the",
"First, Second and Third",
"Epistles of John, the",
"Epistle of Jude, the",
"Revelation.",
"",
"All which are given by the",
"inspiration of God, to be",
"the rule of Faith and Life.",
"",
"",
"3.",
"The Books commonly called",
"Apocrypha not being of",
"Divine inspiration, are no",
"part of the Canon (or rule)",
"of the Scripture, and",
"therefore are of no",
"authority to the Church of",
"God, nor to be any",
"otherwise approved or made",
"use of, then other humane",
"writings.",
"",
"4.",
"The Authority of the Holy",
"Scripture for which it",
"ought to be believed",
"dependeth not upon the",
"testimony of any man, or",
"Church; but wholly upon God",
"(who is truth it self) the",
"Author thereof; therefore",
"it is to be received,",
"because it is the Word of",
"God.",
"",
"5.",
"We may be moved and induced",
"by the testimony of the",
"Church of God, to an high",
"and reverent esteem of the",
"Holy Scriptures; and the",
"heavenliness of the matter,",
"the efficacy of the",
"Doctrine, and the Majesty",
"of the stile, the consent",
"of all the parts, the scope",
"of the whole (which is to",
"give all glory to God) the",
"full discovery it makes of",
"the only way of mans",
"salvation, and many other",
"incomparable Excellencies,",
"and intire perfections",
"thereof, are arguments",
"whereby it doth abundantly",
"evidence it self to be the",
"Word of God; yet",
"notwithstanding; our full",
"perswasion, and assurance",
"of the infallible truth,",
"and divine authority",
"thereof, is from the inward",
"work of the Holy Spirit,",
"bearing witness by and with",
"the Word in our Hearts.",
"",
"6.",
"The whole Councel of God",
"concerning all things",
"necessary for his own",
"Glory, Mans Salvation,",
"Faith and Life, is either",
"expressely set down or",
"necessarily contained in",
"the Holy Scripture; unto",
"which nothing at any time",
"is to be added, whether by",
"new Revelation of the",
"Spirit, or traditions of",
"men.",
"",
"Nevertheless we acknowledge",
"the inward illumination of",
"the Spirit of God, to be",
"necessary for the saving",
"understanding of such",
"things as are revealed in",
"the Word, and that there",
"are some circumstances",
"concerning the worship of",
"God, and government of the",
"Church common to humane",
"actions and societies;",
"which are to be ordered by",
"the light of nature, and",
"Christian prudence",
"according to the general",
"rules of the Word, which",
"are always to be observed.",
"",
"",
"7.",
"All things in Scripture are",
"not alike plain in",
"themselves, nor alike clear",
"unto all; yet those things",
"which are necessary to be",
"known, believed, and",
"observed for Salvation, are",
"so clearly propounded, and",
"opened in some place of",
"Scripture or other, that",
"not only the learned, but",
"the unlearned, in a due use",
"of ordinary means, may",
"attain to a sufficient",
"understanding of them.",
"",
"8.",
"The Old Testament in",
"Hebrew, (which was the",
"Native language of the",
"people of God of old) and",
"the New Testament in Greek",
"(which at the time of the",
"writing of it was most",
"generally known to the",
"Nations being immediately",
"inspired by God, and by his",
"singular care and",
"Providence kept pure in all",
"Ages, are therefore",
"authentical; so as in all",
"controversies of Religion",
"the Church is finally to",
"appeal unto them But",
"because these original",
"tongues are not known to",
"all the people of God, who",
"have a right unto, and",
"interest in the Scriptures,",
"and are commanded in the",
"fear of God to read and",
"search them, therefore they",
"are to be translated into",
"the vulgar language of",
"every Nation, unto which",
"they come, that the Word of",
"God dwelling plentifully in",
"all, they may worship him",
"in an acceptable manner,",
"and through patience and",
"comfort of the Scriptures",
"may have hope.",
"",
"9.",
"The infallible rule of",
"interpretation of Scripture",
"is the Scripture it self:",
"And therefore when there is",
"a question about the true",
"and full sense of any",
"Scripture (which is not",
"manifold but one) it must",
"be searched by other places",
"that speak more clearly.",
"",
"10.",
"The supream judge by which",
"all controversies of",
"Religion are to be",
"determined, and all Decrees",
"of Councels, opinions of",
"antient Writers, Doctrines",
"of men, and private",
"Spirits, are to be",
"examined, and in whose",
"sentence we are to rest,",
"can be no other but the",
"Holy Scripture delivered by",
"the Spirit, into which",
"Scripture so delivered, our",
"faith is finally resolved.",
"",
"",
"CHAPTER 2: OF GOD AND OF",
"THE HOLY TRINITY",
"",
"1.",
"The Lord our God is but one",
"only living, and true God;",
"whose subsistence is in and",
"of himself, infinite in",
"being, and perfection,",
"whose Essence cannot be",
"comprehended by any but",
"himself; a most pure",
"spirit, invisible, without",
"body, parts, or passions,",
"who only hath immortality,",
"dwelling in the light,",
"which no man can approach",
"unto, who is immutable,",
"immense, eternal,",
"incomprehensible, Almighty,",
"every way infinit, most",
"holy, most wise, most free,",
"most absolute, working all",
"things according to the",
"councel of his own",
"immutable, and most",
"righteous will, for his own",
"glory, most loving,",
"gracious, merciful, long",
"suffering, abundant in",
"goodness and truth,",
"forgiving iniquity,",
"transgression and sin, the",
"rewarder of them that",
"diligently seek him, and",
"withall most just, and",
"terrible in his judgements,",
"hating all sin, and who",
"will by no means clear the",
"guilty.",
"",
"2.",
"God having all life, glory,",
"goodness, blessedness, in",
"and of himself: is alone",
"in, and unto himself",
"all-sufficient, not",
"standing in need of any",
"Creature which he hath",
"made, nor deriving any",
"glory from them, but onely",
"manifesting his own glory",
"in, by, unto, and upon",
"them, he is the alone",
"fountain of all Being, of",
"whom, through whom, and to",
"whom are all things, and he",
"hath most soveraign",
"dominion over all",
"creatures, to do by them,",
"for them, or upon them,",
"whatsoever himself",
"pleaseth; in his sight all",
"things are open and",
"manifest, his knowledge is",
"infinite, infallible, and",
"independant upon the",
"Creature, so as nothing is",
"to him contingent, or",
"uncertain; he is most holy",
"in all his Councels, in all",
"his Works, and in all his",
"Commands; to him is due",
"from Angels and men,",
"whatsoever worship,",
"service, or obedience as",
"Creatures they owe unto the",
"Creator, and whatever he is",
"further pleased to require",
"of them.",
"",
"3.",
"In this divine and infinite",
"Being there are three",
"subsistences, the Father",
"the Word (or Son) and Holy",
"Spirit, of one substance,",
"power, and Eternity, each",
"having the whole Divine",
"Essence, yet the Essence",
"undivided, the Father is of",
"none neither begotten nor",
"proceeding, the Son is",
"Eternally begotten of the",
"Father, the holy Spirit",
"proceeding from the Father",
"and the Son, all infinite,",
"without beginning,",
"therefore but one God, who",
"is not to be divided in",
"nature and Being; but",
"distinguished by several",
"peculiar, relative",
"properties, and personal",
"relations; which doctrine",
"of the Trinity is the",
"foundation of all our",
"Communion with God, and",
"comfortable dependance on",
"him.",
"",
"",
"CHAPTER 3: OF GODS DECREE",
"",
"1.",
"God hath Decreed in himself",
"from all Eternity, by the",
"most wise and holy Councel",
"of his own will, freely and",
"unchangeably, all things",
"whatsoever comes to passe;",
"yet so as thereby is God",
"neither the author of sin,",
"nor hath fellowship with",
"any therein, nor is",
"violence offered to the",
"will of the Creature, nor",
"yet is the liberty, or",
"contingency of second",
"causes taken away, but",
"rather established, in",
"which appears his wisdom in",
"disposing all things, and",
"power, and faithfulness in",
"accomplishing his Decree.",
"",
"2.",
"Although God knoweth",
"whatsoever may, or can come",
"to passe upon all supposed",
"conditions; yet hath he not",
"Decreed anything, because",
"he foresaw it as future, or",
"as that which would come to",
"pass upon such conditions.",
"",
"3.",
"By the decree of God for",
"the manifestation of his",
"glory some men and Angels,",
"are predestinated, or",
"fore-ordained to Eternal",
"Life, through Jesus Christ",
"to the praise of his",
"glorious grace; others",
"being left to act in their",
"sin to their just",
"condemnation, to the praise",
"of his glorious justice.",
"",
"4.",
"These Angels and Men thus",
"predestinated, and",
"fore-ordained, are",
"particularly, and",
"unchangeably designed; and",
"their number so certain,",
"and definite, that it",
"cannot be either increased,",
"or diminished.",
"",
"5.",
"Those of mankind that are",
"predestinated to life, God",
"before the foundation of",
"the world was laid,",
"according to his eternal",
"and immutable purpose, and",
"the secret Councel and good",
"pleasure of his will, hath",
"chosen in Christ unto",
"everlasting glory, out of",
"his meer free grace and",
"love; without any other",
"thing in the creature as a",
"condition or cause moving",
"him thereunto.",
"",
"6.",
"As God hath appointed the",
"Elect unto glory, so he",
"hath by the eternal and",
"most free purpose of his",
"will, fore-ordained all the",
"means thereunto, wherefore",
"they who are elected, being",
"faln in Adam, are redeemed",
"by Christ, are effectually",
"called unto faith in",
"Christ, by his spirit",
"working in due season, are",
"justifyed, adopted,",
"sanctified, and kept by his",
"power through faith unto",
"salvation; neither are any",
"other redeemed by Christ,",
"or effectually called,",
"justified, adopted,",
"sanctified, and saved, but",
"the Elect only.",
"",
"7.",
"The Doctrine of this high",
"mystery of predestination,",
"is to be handled with",
"special prudence, and care;",
"that men attending the will",
"of God revealed in his",
"word, and yeilding",
"obedience thereunto, may",
"from the certainty of their",
"effectual vocation, be",
"assured of their eternal",
"election; so shall this",
"doctrine afford matter of",
"praise, reverence, and",
"admiration of God, and of",
"humility, diligence, and",
"abundant consolation, to",
"all that sincerely obey the",
"Gospel.",
"",
"",
"CHAPTER 4: OF CREATION",
"",
"1.",
"In the beginning it pleased",
"God the Father, Son, and",
"Holy Spirit, for the",
"manifestation of the glory",
"of his eternal power,",
"wisdom, and goodness, to",
"Create or make the world,",
"and all things therein,",
"whether visible or",
"invisible, in the space of",
"six days, and all very",
"good.",
"",
"2.",
"After God had made all",
"other Creatures, he Created",
"man, male and female, with",
"reasonable and immortal",
"souls, rendring them fit",
"unto that life to God; for",
"which they were Created;",
"being made after the image",
"of God, in knowledge,",
"righteousness, and true",
"holyness; having the Law of",
"God written in their",
"hearts, and power to",
"fulfill it; and yet under a",
"possibility of",
"transgressing, being left",
"to the liberty of their own",
"will, which was subject to",
"change.",
"",
"3.",
"Besides the Law written in",
"their hearts, they received",
"a command not to eat of the",
"tree of knowledge of good",
"and evil; which whilst they",
"kept, they were happy in",
"their Communion with God,",
"and had dominion over the",
"Creatures.",
"",
"",
"CHAPTER 5: OF DIVINE",
"PROVIDENCE",
"",
"1.",
"God the good Creator of all",
"things, in his infinite",
"power, and wisdom, doth",
"uphold, direct, dispose,",
"and govern all Creatures,",
"and things, from the",
"greatest even to the least,",
"by his most wise and holy",
"providence, to the end for",
"the which they were",
"Created; according unto his",
"infallible foreknowledge,",
"and the free and immutable",
"Councel of his own will; to",
"the praise of the glory of",
"his wisdom, power, justice,",
"infinite goodness and",
"mercy.",
"",
"2.",
"Although in relation to the",
"foreknowledge and Decree of",
"God, the first cause, all",
"things come to pass",
"immutably and infallibly;",
"so that there is not any",
"thing, befalls any by",
"chance, or without his",
"Providence; yet by the same",
"Providence he ordereth them",
"to fall out, according to",
"the nature of second",
"causes, either necessarily,",
"freely, or contingently.",
"",
"3.",
"God in his ordinary",
"Providence maketh use of",
"means; yet is free to work,",
"without, above, and against",
"them at his pleasure.",
"",
"4.",
"The Almighty power,",
"unsearchable wisdom, and",
"infinite goodness of God,",
"so far manifest themselves",
"in his Providence, that his",
"determinate Councel",
"extendeth it self even to",
"the first fall, and all",
"other sinful actions both",
"of Angels, and Men; (and",
"that not by a bare",
"permission) which also he",
"most wisely and powerfully",
"boundeth, and otherwise",
"ordereth, and governeth, in",
"a manifold dispensation to",
"his most holy ends: yet so,",
"as the sinfulness of their",
"acts proceedeth only from",
"the Creatures, and not from",
"God; who being most holy",
"and righteous, neither is",
"nor can be, the author or",
"approver of sin.",
"",
"5.",
"The most wise, righteous,",
"and gracious God, doth",
"oftentimes, leave for a",
"season his own children to",
"manifold temptations, and",
"the corruptions of their",
"own heart, to chastise them",
"for their former sins, or",
"to discover unto them the",
"hidden strength of",
"corruption, and",
"deceitfulness of their",
"hearts, that they may be",
"humbled; and to raise them",
"to a more close, and",
"constant dependence for",
"their support, upon",
"himself; and to make them",
"more watchful against all",
"future occasions of sin,",
"and for other just and holy",
"ends.",
"",
"So that whatsoever befalls",
"any of his elect is by his",
"appointment, for his glory,",
"and their good.",
"",
"",
"6.",
"As for those wicked and",
"ungodly men, whom God as a",
"righteous judge, for former",
"sin doth blind and harden;",
"from them he not only",
"withholdeth his Grace,",
"whereby they might have",
"been inlightned in their",
"understanding, and wrought",
"upon in their hearts: But",
"sometimes also withdraweth",
"the gifts which they had,",
"and exposeth them to such",
"objects as their",
"corruptions makes occasion",
"of sin; and withall gives",
"them over to their own",
"lusts, the temptations of",
"the world, and the power of",
"Satan, whereby it comes to",
"pass, that they harden",
"themselves, even under",
"those means which God useth",
"for the softning of others.",
"",
"7.",
"As the Providence of God",
"doth in general reach to",
"all Creatures, so after a",
"most special manner it",
"taketh care of his Church,",
"and disposeth of all things",
"to the good thereof.",
"",
"",
"CHAPTER 6: OF THE FALL OF",
"MAN, OF SIN, AND OF THE",
"PUNISHMENT THEREOF",
"",
"1.",
"Although God created Man",
"upright, and perfect, and",
"gave him a righteous law,",
"which had been unto life",
"had he kept it, and",
"threatned death upon the",
"breach thereof; yet he did",
"not long abide in this",
"honour; Satan using the",
"subtilty of the serpent to",
"seduce Eve, then by her",
"seducing Adam, who without",
"any compulsion, did",
"wilfully transgress the Law",
"of their Creation, and the",
"command given unto them, in",
"eating the forbidden fruit;",
"which God was pleased",
"according to his wise and",
"holy Councel to permit,",
"having purposed to order",
"it, to his own glory.",
"",
"2.",
"Our first Parents by this",
"Sin, fell from their",
"original righteousness and",
"communion with God, and we",
"in them, whereby death came",
"upon all; all becoming dead",
"in Sin, and wholly defiled,",
"in all the faculties, and",
"parts, of soul, and body.",
"",
"3.",
"They being the root, and by",
"Gods appointment, standing",
"in the room, and stead of",
"all mankind; the guilt of",
"the Sin was imputed, and",
"corrupted nature conveyed,",
"to all their posterity",
"descending from them by",
"ordinary generation, being",
"now conceived in Sin, and",
"by nature children of",
"wrath, the servants of Sin,",
"the subjects of death and",
"all other miseries,",
"spiritual, temporal and",
"eternal, unless the Lord",
"Jesus set them free.",
"",
"4.",
"From this original",
"corruption, whereby we are",
"utterly indisposed,",
"disabled, and made opposite",
"to all good, and wholly",
"inclined to all evil, do",
"proceed all actual",
"transgressions.",
"",
"5.",
"The corruption of nature,",
"during this Life, doth",
"remain in those that are",
"regenerated: and although",
"it be through Christ",
"pardoned, and mortified,",
"yet both it self, and the",
"first motions thereof, are",
"truely and properly Sin.",
"",
"",
"CHAPTER 7: OF GODS COVENANT",
"",
"1.",
"The distance between God",
"and the Creature is so",
"great, that although",
"reasonable Creatures do owe",
"obedience unto him as their",
"Creator, yet they could",
"never have attained the",
"reward of Life, but by some",
"voluntary condescension on",
"Gods part, which he hath",
"been pleased to express, by",
"way of Covenant.",
"",
"2.",
"Moreover Man having brought",
"himself under the curse of",
"the Law by his fall, it",
"pleased the Lord to make a",
"Covenant of Grace wherein",
"he freely offereth unto",
"Sinners, Life and Salvation",
"by Jesus Christ, requiring",
"of them Faith in him, that",
"they may be saved; and",
"promising to give unto all",
"those that are ordained",
"unto eternal Life, his holy",
"Spirit, to make them",
"willing, and able to",
"believe.",
"",
"3.",
"This Covenant is revealed",
"in the Gospel; first of all",
"to Adam in the promise of",
"Salvation by the seed of",
"the woman, and afterwards",
"by farther steps, untill",
"the full discovery thereof",
"was compleated in the new",
"Testament; and it is",
"founded in that Eternal",
"Covenant transaction, that",
"was between the Father and",
"the Son, about the",
"Redemption of the Elect;",
"and it is alone by the",
"Grace of this Covenant,",
"that all of the posterity",
"of fallen Adam, that ever",
"were saved, did obtain life",
"and a blessed immortality;",
"Man being now utterly",
"uncapable of acceptance",
"with God upon those terms,",
"on which Adam stood in his",
"state of innocency.",
"",
"",
"CHAPTER 8: OF CHRIST THE",
"MEDIATOR",
"",
"1.",
"It pleased God in his",
"eternal purpose, to chuse",
"and ordain the Lord Jesus",
"his only begotten Son,",
"according to the Covenant",
"made between them both, to",
"be the Mediator between God",
"and Man; the Prophet,",
"Priest and King; Head and",
"Saviour of his Church, the",
"heir of all things, and",
"judge of the world: Unto",
"whom he did from all",
"Eternity give a people to",
"be his seed, and to be by",
"him in time redeemed,",
"called, justified,",
"sanctified, and glorified.",
"",
"2.",
"The Son of God, the second",
"Person in the Holy Trinity,",
"being very and eternal God,",
"the brightness of the",
"Fathers glory, of one",
"substance and equal with",
"him: who made the World,",
"who upholdeth and governeth",
"all things he hath made:",
"did when the fullness of",
"time was come take unto him",
"mans nature, with all the",
"Essential properties, and",
"common infirmities thereof,",
"yet without sin: being",
"conceived by the Holy",
"Spirit in the Womb of the",
"Virgin Mary, the Holy",
"Spirit coming down upon",