summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: 10ab25ca4c016ddeb840dc4740cadf47a908d136 (plain) (blame)
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
# 0.2F

* Add logo
* Implement exceptions (including banked registers)
* Implement software interrupts
* Add custom bootloader
* Update readme
* Support condition-setting instructions
* Implement all data-processing instructions
* Support conditional execution (predicates)
* Rework shifter instructions
* Rework pipeline
* Rework file structure
* Update gitignore
* Update naming convention

# 0.2E

* Update readme
* Implement remaining data-processing instructions with register operands in Thumb
* Extend memory writes according to region
* Fix colour decoding
* Improve logging
* Update code structure
* Implement read-only memory

# 0.2D

* Reformat changelog in Markdown
* Add test program (including build script)
* Update readme (make Markdown)
* Rewrite and restructure project
* Update optimisation flags
* Depend on ctrlc, sdl2, and toml
* Set window title according to image
* Draw video memory
* Update naming convention
* Update gitignore
* Never hang on trap
* Run CPU on seperate thread
* Rework logs

# 0.2C

* Fill window according to first palette entry;

# 0.2B

* Update messages
* Fix lsr and lsl
* Fix str

# 0.2A

* Implement Thumb:
  * ldr  Rd, [Rn, Immediate5]
  * ldr  Rd, [Rn, Rm]
  * ldr  Rd, [pc, Immediate8]
  * ldr  Rd, [sp, Immediate8]
  * lsl  Rd, Rm,  Immediate5
  * svc  Immediate8
  * push Registers
  * pop  Registers
  * strh Rd, [Rn, Immediate5]
  * lsr  Rd, Rm,  Immediate5
* Update readme
* Rework instruction functions
* Improve comments
* Attach license file
* Initialise SP
* Optimise sign-extensions
* Bump dependency versions

# 0.29

* Implement Thumb:
  * mov Rd, Rm;
  * movs Rd, immediate8;
  * movs Rd, Rm;
* Update readme;
* Rename condition method to check_condition;

# 0.28

* Fix wrong license in readme;

# 0.27

* Add support for Thumb:
  * bx;
  * b{cond};
  * b;
* Fix bx;
* Rework log method;
* Improve comments;
* Update readme;
* Only survive invalid opcode traps;

# 0.26

* Support bx;
* Fix ldr|str;
* Remove logging in release builds;
* Fix version number being in decimal;
* Update readme;

# 0.25

* Support load and store instructions;
* Update messages;
* Implement some move instructions;
* Update log function;
* Add equivalent write functions;
* Fix conditional execution;
* Fix branch;
* Add device helper structure;
* Update trap print;
* Reenable overflow checks;
* License under AGPL3;
* Fix default configuration not being made;
* Update readme;
* Add spsr registers;

# 0.24

* Bump dependency versions;
* Optimise b{cond}{l}.w decoder;
* Update messages;
* Remove Application::end method;
* Add comments;
* Add function for logging;
* Use TOML for configuration;
* Depend on Serde;
* Update readme;
* Remove unused Configuration::create;

# 0.23

* Update manifest;
* Update trap function (make better use of enumerations);

# 0.22

* Survive traps;
* Use hexadecimal version numbers;
* Rewrite readme into ASCII-text;
* Don't default image;
* Add configuration file;

# 0.21

* Update version constant to include minor versions;
* Use SDL2 for windowing;
* Combine Application and Emulator structures;
* Rename opcode method to decode;

# 0.20

* Support bl;
* Update register format;
* Unify trap functions;
* Add memory read helper functions;
* Update naming convention;

# 0.1F

* Update trap function;
* Add emulator helper structure;
* Support conditional instructions;
* Set signal handlers;

# 0.1E

* Repurpose project for emulating the AGB;
* Make changelog plain-text (rename to CHANGELOG.txt);
* Write in Rust;
* Update gitignore;
* Use Git tagging;
* Update versioning: major.minor;

# 1D

* Fix logs being forced disabled.

# 1C

* Depend on SDL2.
* Remove include directory path.
* Add new instruction: DRW, CPP, STP.
* Implement more instruction: DRW, CPP, STP.
* Fix logger for CPD.
* Create window for visualising VRAM.
* Remove speed limiter.
* Unify all global variables into a struct.
* Fix luma_setDbl.
* Improve some loggers.
* Create new test program.

# 1B

* Implement more instructions.
* Update project description.
* Fix UB in signal handler.
* Require C11 instead of C99.
* Add more instructions.
* Remove sound buffer.

# 1A

* Fix version number being out of date.

# 19

* Remove old readme.
* Update memory model.
* Fix ROM loader loading ROM into wrong address.
* Update bootloader.
* Fix bootloader loaded as bank 0 (should be 1).
* Add new instructions.
* Implement more instructions.
* Rename opcode LDB to BNK.
* Rewrite instruction interpreter.
* Writes in ROM no longer succeed.
* Create SIGINT handler.

# 18

* Move all UTF-8 related code into a seperate project, *u8c*.
* Rewrite project.
* Require C99 instead of C17.
* Reformat the readme into HTML.

# 17

* Create *bin* folder in destination directory when installing.

# 16

* Remove memory leaks.
* Require C17 instead of C2x.
* Create license notices in source files.
* Create install and uninstall targets in Makefile.

# 15

* Improve Makefile.
* Improve UTF-8 encoder.
* Complete UTF-8 decoder.
* Create basic print function.

# 14

* Complete UTF-8 encoder.
* Fix #1.

# 13

* Reformat changelog to Markdown.
* Completely rework codebase (multiple times, in C, C++, Objective-C and Rust). Finally decide on C.
* Split project into three seperate projects: *libluma* (API), *luma* (interpreter), and *luma-docs* (documentation).
* Merge with *libluma*.
* Create language sample.
* Use STDC functions instead of POSIX where possible.
* Create functions for decoding and encoding UTF-8.
* Don't include entire changelog in commit message.

# 12

* Remove build artifacts.

# 11

* Compile "luma" instead of "luma.bin".
* Get input file via arguments passed to executable.

# 10

* Reformat README.html to Markdown.

# F

* Add "changelog.html" to keep track of changes.
* Remove deprecated gfx library files.
* Fix PGKBUILD version not considering version 0.
* Add new language example.
* Begin rewrite of entire codebase.<\li>
* Move old codebase into the "old" folder.
* Begin creation Luma stdlib API.
* Build "luma.bin" file instead of "luma.elf".

# E

* revert .gitignore styling
* reorganize source code structure in filesystem
* remove gfxlib in favour of language-bindings to underlying libraries
* adjust compiler optimization flags
* improve c++ stdlib replacement
* create cmd argument handler
* unite core functions in class with app data (replaces luma::dat) for easier access (no friends needed, "this->" instead of "luma::dat.")
* reformat README into HTML (temporary change, will be reformated again in later commit)

# D

* create the arch_t and kernel_t types
* use char const * instead of std::string
* use custom function instead of std::cerr and std::cout
* replace as many stdlib function with custom-made ones

# C

* redo .gitignore ifle
* clean up Makefile
* create PKGBUILD file
* create dedicated folder for language examples
* try to avoid macros where possible
* remove C relics
* create semi-working Vulkan test

# B

* readd x support but only for non-linux systems (may change in the future)
* fix makefile cxxflags

# A

* drop x support
* move codebase to c++
* rework makefile
* create simple wayland demo

# 9

* quick commit before dropping x support

# 8

* create license file
* makefile optimizations
* added readme
* added stdc version checking
* x connection handling to a different file

# 7

* make Makefile check for Makefile changes when linking not compiling

# 6

* make Makefile check for Makefile changes when making
* make a gamble and enable -O3

# 5

* fix error when compiling crtwin.c
* make makefile super nice
* update .gitignore

# 4

* change compiler to clang
* improve makefile
* create luma example file
* expanded stdlib

# 3

* readd .gitignore

# 2

* create makefile
* create simple xcb demo

# 1

* create foundation for stdlib socket

# 0

* first