Skip to content

Commit fbaf830

Browse files
committed
Added copyright notices, Makefile, .gitignore.
1 parent d29ba7e commit fbaf830

24 files changed

+497
-0
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*~
2+
3+
.build
4+
5+
aes
6+
aes.exe

Makefile

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright (C) Simon Wright <simon@pushface.org>
2+
3+
# This file is part of the Analytical Engine Ada emulator
4+
# project. This file is free software; you can redistribute it and/or
5+
# modify it under terms of the GNU General Public License as published
6+
# by the Free Software Foundation; either version 3, or (at your
7+
# option) any later version. This file is distributed in the hope that
8+
# it will be useful, but WITHOUT ANY WARRANTY; without even the
9+
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10+
# PURPOSE.
11+
12+
# As a special exception under Section 7 of GPL version 3, you are
13+
# granted additional permissions described in the GCC Runtime Library
14+
# Exception, version 3.1, as published by the Free Software
15+
# Foundation.
16+
17+
# You should have received a copy of the GNU General Public License
18+
# and a copy of the GCC Runtime Library Exception along with this
19+
# program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
# If not, see <http://www.gnu.org/licenses/>.
21+
22+
EXE := $(suffix $(notdir $(shell which gnat)))
23+
24+
all: aes$(EXE)
25+
26+
aes$(EXE): force
27+
gprbuild -p -P aes.gpr
28+
29+
.PHONY: all force

aes.gpr

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with "gnatcoll_gmp";
223

324
project Aes is

src/aes.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Ada.Exceptions;
223
with Ada.IO_Exceptions;
324
with Ada.Text_IO; use Ada.Text_IO;

src/analytical_engine-annunciator_panel-command_line.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Ada.Text_IO; use Ada.Text_IO;
223
package body Analytical_Engine.Annunciator_Panel.Command_Line is
324

src/analytical_engine-annunciator_panel-command_line.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
package Analytical_Engine.Annunciator_Panel.Command_Line is
223

324
type Instance is new Annunciator_Panel.Instance with private;

src/analytical_engine-annunciator_panel.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
package body Analytical_Engine.Annunciator_Panel is
223

324
procedure Set_Tracing (This : in out Instance; To : Boolean) is

src/analytical_engine-annunciator_panel.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
private with Ada.Finalization;
223
package Analytical_Engine.Annunciator_Panel is
324

src/analytical_engine-attendant.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
package body Analytical_Engine.Attendant is
223

324
procedure Initialize (This : in out Instance)

src/analytical_engine-attendant.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Analytical_Engine.Annunciator_Panel;
223
private with Ada.Finalization;
324
package Analytical_Engine.Attendant is

src/analytical_engine-card.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Ada.Characters.Handling;
223
with Ada.Strings.Fixed;
324
with Ada.Strings.Maps;

src/analytical_engine-card.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
limited with Analytical_Engine.Framework;
223

324
private with Ada.Finalization;

src/analytical_engine-card_reader.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Analytical_Engine.Framework;
223

324
package body Analytical_Engine.Card_Reader is

src/analytical_engine-card_reader.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Ada.Text_IO;
223
with Analytical_Engine.Annunciator_Panel;
324
with Analytical_Engine.Attendant;

src/analytical_engine-framework.adb

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
package body Analytical_Engine.Framework is
223

324
function Create

src/analytical_engine-framework.ads

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
-- Copyright (C) Simon Wright <simon@pushface.org>
2+
--
3+
-- This file is part of the Analytical Engine Ada emulator
4+
-- project. This file is free software; you can redistribute it
5+
-- and/or modify it under terms of the GNU General Public License as
6+
-- published by the Free Software Foundation; either version 3, or
7+
-- (at your option) any later version. This file is distributed in
8+
-- the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9+
-- even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10+
-- PARTICULAR PURPOSE.
11+
--
12+
-- As a special exception under Section 7 of GPL version 3, you are
13+
-- granted additional permissions described in the GCC Runtime
14+
-- Library Exception, version 3.1, as published by the Free Software
15+
-- Foundation.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- and a copy of the GCC Runtime Library Exception along with this
19+
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
20+
-- If not, see <http://www.gnu.org/licenses/>.
21+
122
with Analytical_Engine.Annunciator_Panel;
223
with Analytical_Engine.Output;
324
with Analytical_Engine.Attendant;

0 commit comments

Comments
 (0)